I loaded the rail server on the local server: 3000 and I got the error below. I came to know that this 'rails_12factor' gem was causing the problem. I am using this gem so that my CSS can work on my own upload, but is there any way to work locally on the railway-22 factor due to the local host?
I am running Rail 4.0 / Ruby 2.0, and I have heard that I need 'rails_12factor' to get CRS to work with Rail 4 and Harkooo. .
This error is:
Wrong number of arguments (0 for 1) Rails.root: / home / brice / rails_projects / blog application trace | Framework trace | Full trace activesupport (4.0.0.rc1) lib / active_support / core_ext / kernel / reporting.rb: 82: `capture 'ActiveRecord (4.0.0.rc1) lib / active_record / migration.rb: 363:` call' actionpack (4.0.0.rc1) lib / action_dispatch / middleware / callbacks.rb: 29: ` 'activesupport (4.0.0.rc1 call block) lib / active_support / callbacks.rb: 392:` the _run__553013214532738530__call__callbacks' activesupport ( 4.0.0.rc1) lib / active_support / callbacks.rb: 80: `the run_callbacks actionpack (4.0.0 'actionpack (4.0.0.rc1) lib / action_dispatch / middleware / callbacks.rb :: 27 Men` call. RC1) lib / action_dispatch / middleware / reloader.rb: 64: `call 'actionpack (4.0.0.rc1) lib / action_dispatch / middleware / remote_ip.rb: 76: Men` call' actionpack (4.0.0.rc1) Lib / action_dispatch / min Dlveyr / debug_exceptions.rb: 17: `call 'actionpack (4.0.0.rc1) lib / action_dispatch / middleware / show_exceptions.rb: 30:` call' railties (4.0.0.rc1) lib / rail / rack / Logger RB: 38: `call_app 'in railway (4.0.0 rc1) lease / rail / rack / logger. RB: 21: 'Black in' activesu Pport (4.0.0.rc1) lib / active_support / tagged_logging.rb: 67: 'block in tag' activesupport (4.0.0.rc1) lib / active_support / tagged_logging.rb: 25: 'tag' activesupport (4.0.0rc1) lib / active_support / tagged_logging.rb: 67: Lib / Rail / Rack / Logger in `Tag 'Rolts (4.0.0.rc1) RB: 21: Lib / action_dispatch / middleware / request_id.rb: 21 in `call 'action pack (4.0.0.rc1):' call 'in rack (1.5.2) lib / rack / methodoverride.rb: 21:` Call 'in rack (1.5.2) lib / rack / runtime.rb: 17: support in' call 'active (4.0.0.rc1) lib / active_support / cache / strategy / local_cache.rb: 83: `call' rack In 'call' action pack (4.0.0RC1) BB / Action_Dispatch / Middleware / Static in lib / rack / lock.rb: 17: (1.5.2) RB: 64: `Call 'Relatives (4.0.0RC1) Lib / Rail / Engine. RB: 511: In `call 'religions (4.0.0.rc1) lib / rails / application.rb: 96:` call' in rack (1.5.2) lib / rack / lock.rb: 17: `call 'rack (1.5.2) Liberalization / Rack / Content_length.rb: 14: (`1.5.2) liberalization / rack / handler / vibric in` call 'rack. RB: 60: In 'service' /home/brice/.rvm/rubies/ruby-2.0.0-p195/ lib / dark red / 2 0.0 / webrick / httpserver.rb: 138: /home/brice/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb the `service ': 94: in` Run '/ home / borough /. R.V.M. / Ruby / RB -2-2.0.0-P195 / Lib / Ruby-2.0.0 / Vibric / Acer. I can also provide other files at RBGHE 95: in 'Start Initially' But I do not know where anyone has the idea of how to come around this If so, I would appreciate it!
The answer was Rails_12factor
to the end of 'Group :: Production' To add: This will look like this on your gemfile:
gem 'rails_12factor', group :: output
No comments:
Post a Comment