Can not start rails server after changing gem file - ruby-on-rails

I just started the Ruby on Rails Tutorial by Michael Hartl. I am currently trying to get the exact same gems versions (listing 1.5 in the book) he uses to avoid future problems. I managed to run bundle update and bundle install with no problems but when I try to start the server by rails server I get error you will see below.
The only main difference I can spot between his dev environment and mine is that I use rbenv and set the local ruby version for the project to 2.0.0-p353, and he uses RVM with ruby version 2.0.0. Could this be causing the problem? I can't find a ruby 2.0.0 version (without any -p...) on rbenv.
Thank you for your help!!
=> Booting WEBrick
=> Rails 4.0.5 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/Users/eduardopoleo/Desktop/rails_projects/first_app/config/environments/development.rb:1:in `<top (required)>': undefined method `configure' for #<FirstApp::Application:0x007ff71196dee8> (NoMethodError)
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:591:in `block (2 levels) in <class:Engine>'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:590:in `each'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:590:in `block in <class:Engine>'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in `run'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:44:in `each'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:44:in `tsort_each_child'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:203:in `each_strongly_connected_component_from'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:180:in `each'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:215:in `initialize!'
from /Users/eduardopoleo/Desktop/rails_projects/first_app/config/environment.rb:5:in `<top (required)>'
from /Users/eduardopoleo/Desktop/rails_projects/first_app/config.ru:3:in `require'
from /Users/eduardopoleo/Desktop/rails_projects/first_app/config.ru:3:in `block in <main>'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from /Users/eduardopoleo/Desktop/rails_projects/first_app/config.ru:in `new'
from /Users/eduardopoleo/Desktop/rails_projects/first_app/config.ru:in `<main>'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands/server.rb:48:in `app'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands/server.rb:75:in `start'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands.rb:76:in `block in <top (required)>'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands.rb:71:in `tap'
from /Users/eduardopoleo/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/commands.rb:71:in `<top (required)>'
from bin/rails:8:in `require'
from bin/rails:8:in `<main>'

Related

Rails server crashes due to captcha?

Over the weekend I shut my localhost server down because I wasn't doing anything with it. However this week I have had a host of issues with booting it back up. My first problem with something with rmagick, I had to either install(?) or update command line tools, reinstall rmagick and nokogiri.
Now that problem seems to be behind me but every time I run rails s
It cashes after boot and I get this error:
=> Booting WEBrick
=> Rails 4.2.5.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/Users/tfantina/Documents/Code and Websites/Ruby & Rails Stuff/professor/config/initializers/recaptcha.rb:11:in `block in <top (required)>': undefined method `public_key=' for #<Recaptcha::Configuration:0x007fbaa89d09d0> (NoMethodError)
Did you mean? public_send
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/recaptcha-4.0.0/lib/recaptcha.rb:30:in `configure'
from /Users/tfantina/Documents/Code and Websites/Ruby & Rails Stuff/professor/config/initializers/recaptcha.rb:10:in `<top (required)>'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in `load'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in `block in load'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in `load_dependency'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in `load'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:166:in `instrument'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/engine.rb:651:in `load_config_initializer'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/engine.rb:615:in `each'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in `run'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/initializable.rb:44:in `each'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/initializable.rb:44:in `tsort_each_child'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:415:in `call'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:415:in `each_strongly_connected_component_from'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `each'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `call'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
from /Users/tfantina/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/application.rb:352:in `initialize!'
from /Users/tfantina/Documents/Code and Websites/Ruby & Rails Stuff/professor/config/environment.rb:5:in `<top (required)>'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in `require'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in `block in require'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in `load_dependency'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in `require'
from /Users/tfantina/Documents/Code and Websites/Ruby & Rails Stuff/professor/config.ru:3:in `block in <main>'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:55:in `instance_eval'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:55:in `initialize'
from /Users/tfantina/Documents/Code and Websites/Ruby & Rails Stuff/professor/config.ru:in `new'
from /Users/tfantina/Documents/Code and Websites/Ruby & Rails Stuff/professor/config.ru:in `<main>'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:49:in `eval'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:49:in `new_from_string'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:40:in `parse_file'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/server.rb:299:in `build_app_and_options_from_config'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/server.rb:208:in `app'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/commands/server.rb:61:in `app'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/server.rb:336:in `wrapped_app'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/commands/server.rb:139:in `log_to_stdout'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/commands/server.rb:78:in `start'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:80:in `block in server'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:75:in `tap'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:75:in `server'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/tfantina/.rvm/gems/ruby-2.3.1/gems/railties-4.2.5.1/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
I haven't touched that initializer in weeks, I even checked my git status to be sure and nothing has changed. Any ideas on why this keeps crashing?
Recaptcha has been updated.
https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md
public_key to site_key
private_key to secret_key
Change your config/initializers/recaptcha.rb
Recaptcha.configure do |config|
config.site_key = 'public key'
config.secret_key = 'private key'

Ruby on Rails server won't run [duplicate]

This question already has answers here:
Error launching Rails server: undefined method 'configure'
(5 answers)
Closed 8 years ago.
Why is my server not running when I try to start my application? I have node.js installed and I believe I have execjs installed as well which neither fixed the issue. No idea what the problem is. Yes I am new so cut me some slack please! Thanks
C:\Users\My-Name\first_app>rails server
=> Booting WEBrick
=> Rails 4.0.8 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
C:/Users/My-Name/first_app/config/environments/development.rb:1:in `<top (required)>': undefined method `configure' for #<FirstApp::Application:0x3b67c30>(NoMethodError)
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in `block in require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:214:in `load_dependency'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/engine.rb:591:in `block (2 levels) in <class:Engine>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/engine.rb:590:in `each'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/engine.rb:590:in `block in <class:Engine>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/initializable.rb:30:in `instance_exec'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/initializable.rb:30:in `run'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/initializable.rb:55:in `block in run_initializers'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/initializable.rb:44:in `each'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/initializable.rb:44:in `tsort_each_child'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:203:in `each_strongly_connected_component_from'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:in `each'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from C:/Ruby200/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/initializable.rb:54:in `run_initializers'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/application.rb:215:in `initialize!'
from C:/Users/Devin Miller/first_app/config/environment.rb:5:in `<top (required)>'
from C:/Users/Devin Miller/first_app/config.ru:3:in `require'
from C:/Users/Devin Miller/first_app/config.ru:3:in `block in <main>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from C:/Users/Devin Miller/first_app/config.ru:in `new'
from C:/Users/Devin Miller/first_app/config.ru:in `<main>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/commands/server.rb:48:in `app'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/commands/server.rb:75:in `start'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/commands.rb:76:in `block in <top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/commands.rb:71:in `tap'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.8/lib/rails/commands.rb:71:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
FirstApp? I guess you are taking the Hartl's tutorial. How did you install rails?
If you installed via rails installer for windows, probably you have a version higher than 4.0.8 and you manually switched version in Gemfile which is not good in this case. If this is the scenario, install 4.0.8 from the beginning and create firstapp with it. [1]
There are few syntax changes for development.rb, buy I think even if you manually change text there it will not work. You can try changing Rails.application.configure.do to FirstApp::Application.configure.do
Please tell me how is going. I will try to update my answer when you give more information.
[1]:
$ rails -v
$ gem uninstall rails --version VERSION
$ gem install rails --version VERSION

Receiving syntax error message when trying to start application server for first Rails application after configuration [noob]

The following message pops up when I enter $ rails server in the Terminal (Mac, running latest version of Yosemite). I'm pretty lost, other topics have recommended altering the text in the config folder of my project, but what I've tried hasn't worked and I'm guessing because those are slightly dated topics.
I'm learning from the Learn Ruby on Rails book trying to get this MailChimp application working, completed up to the 13th chapter without any big issues. Any help is appreciated.
=> Booting WEBrick
=> Rails 4.1.1 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (-- binding option)
=> Ctrl-C to shutdown server
Exiting
/Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/psych.rb:370:in `parse': (<unknown>): found character that cannot start any token while scanning for the next token at line 14 column 1 (Psych::SyntaxError)
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/psych.rb:370:in `parse_stream'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/psych.rb:318:in `parse'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/psych.rb:245:in `load'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/application.rb:313:in `secrets'
from /Users/dengel29/workspace/learn-rails/config/environments/development.rb:32:in `block in <top (required)>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/railtie.rb:210:in `instance_eval'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/railtie.rb:210:in `configure'
from /Users/dengel29/workspace/learn-rails/config/environments/development.rb:1:in `<top (required)>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/engine.rb:594:in `block (2 levels) in <class:Engine>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/engine.rb:593:in `each'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/engine.rb:593:in `block in <class:Engine>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/initializable.rb:30:in `run'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/initializable.rb:44:in `each'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/initializable.rb:44:in `tsort_each_child'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:411:in `call'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `each'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `call'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
from /Users/dengel29/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/application.rb:288:in `initialize!'
from /Users/dengel29/workspace/learn-rails/config/environment.rb:5:in `<top (required)>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
from /Users/dengel29/workspace/learn-rails/config.ru:3:in `block in <main>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from /Users/dengel29/workspace/learn-rails/config.ru:in `new'
from /Users/dengel29/workspace/learn-rails/config.ru:in `<main>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/commands/server.rb:50:in `app'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/commands/server.rb:130:in `log_to_stdout'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/commands/server.rb:67:in `start'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:81:in `block in server'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:76:in `tap'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:76:in `server'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/railties-4.1.1/lib/rails/commands.rb:17:in `<top (required)>'
from /Users/dengel29/workspace/learn-rails/bin/rails:8:in `require'
from /Users/dengel29/workspace/learn-rails/bin/rails:8:in `<top (required)>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `load'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `call'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client/command.rb:7:in `call'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/client.rb:26:in `run'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/bin/spring:48:in `<top (required)>'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `load'
from /Users/dengel29/.rvm/gems/ruby-2.1.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `<top (required)>'
from /Users/dengel29/workspace/learn-rails/bin/spring:16:in `require'
from /Users/dengel29/workspace/learn-rails/bin/spring:16:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
Perhaps your ENV variables are not set up correctly, or you have an unusual character in one of the variables. Be careful there are not tab characters or any unusual characters in the config/secrets.yml file.
I suggest you replace all ENV values in the config/secrets.yml with hardcoded strings. Don't check the file into git with your private credentials in the file. Just test it to see if you can isolate the problem.

Trouble when attempting to launch Rails Server

Sorry if this is a bad question, I'm trying to initially set up Rails, so I don't really know what I'm doing. In the tutorial I'm following it comes to a point at which is says to run "rails server," however this is returning some unexpected results.(See below)
Macbookpro:First Cameron$ sudo rails server
Password:
=> Booting WEBrick
=> Rails 4.1.0 application starting in development on http:// 0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
/Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `action_mailer' for #<Rails::Application::Configuration:0x007fea90b47760> (NoMethodError)
from /Users/admin/Rails/First/config/environments/development.rb:17:in `block in <top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/railtie.rb:210:in `instance_eval'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/railtie.rb:210:in `configure'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/railtie.rb:182:in `configure'
from /Users/admin/Rails/First/config/environments/development.rb:1:in `<top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/engine.rb:594:in `block (2 levels) in <class:Engine>'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/engine.rb:593:in `each'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/engine.rb:593:in `block in <class:Engine>'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:30:in `instance_exec'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:30:in `run'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:55:in `block in run_initializers'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:44:in `each'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:44:in `tsort_each_child'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:203:in `each_strongly_connected_component_from'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:180:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:54:in `run_initializers'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/application.rb:288:in `initialize!'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/railtie.rb:194:in `public_send'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/railtie.rb:194:in `method_missing'
from /Users/admin/Rails/First/config/environment.rb:5:in `<top (required)>'
from /Users/admin/Rails/First/config.ru:3:in `require'
from /Users/admin/Rails/First/config.ru:3:in `block in <main>'
from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from /Users/admin/Rails/First/config.ru:in `new'
from /Users/admin/Rails/First/config.ru:in `<main>'
from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/server.rb:50:in `app'
from /Library/Ruby/Gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/server.rb:130:in `log_to_stdout'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/server.rb:67:in `start'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:81:in `block in server'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `tap'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `server'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.0/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
Sorry if this is not needed, but I'm really unsure what to do with it.
I don't think you're alone in this error.
Make sure you coordinate your gem versions, and even better if specify the versions of your Rails & Ruby gems to avoid potential conflicts in versioning.
Posting your Gemfile would be helpful, but without seeing it, I'd say to specify your Ruby version at the top of your gemfile like:
source 'https://rubygems.org'
ruby '2.0.0'
Then specify your version of Rails. While I have had no problems with just providing:
gem 'rails'
You could be extra safe and specify a version like:
gem 'rails', '4.0.2'
Then run: bundle install for your app.
Take a look at the following tutorial. I realise that it is for windows however it solved all the initial problems I was having with my first install.
http://www.soheiokamoto.com/setting-up-ruby-on-rails-on-windows
The main point that helped me install perfectly was;
Run gem update on a fresh install to make sure everything is up to date

Spree 2 - Advanced Reporting - Rails 4 - Run Error

Has anyone successfully tried to install Advanced Reporting using Rails 4?
I've successfully installed Spree 2 and was able to get the initial site up and running without this gem. However, this gem throws an error while running rails s, in the development environmnet.
Error message received when: rails s
D:\work\projects\ror\clientsite.com\sites\deals.clientsite.com>rails s
DL is deprecated, please use Fiddle
D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/ruport-util-0.14.0/lib/ruport/util/graph/amline.rb:105: warning: undefining `object_id' may cause serious problems
=> Booting WEBrick
=> Rails 4.0.0 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load': cannot load such file -- D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/bundler/gems/spree_active_shipping-057d7d306cdc/lib/spree_active_shipping/../../app/models/spree/calculator/shipping/canada_post/priority_worldwide_intl.rb (LoadError)
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/bundler/gems/spree_active_shipping-057d7d306cdc/lib/spree_active_shipping/engine.rb:32:in `block (2 levels) in <class:Engine>'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/bundler/gems/spree_active_shipping-057d7d306cdc/lib/spree_active_shipping/engine.rb:31:in `each'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/bundler/gems/spree_active_shipping-057d7d306cdc/lib/spree_active_shipping/engine.rb:31:in `block in <class:Engine>'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initializers'
from C:/ruby/Ruby200/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from C:/ruby/Ruby200/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from C:/ruby/Ruby200/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from C:/ruby/Ruby200/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from C:/ruby/Ruby200/lib/ruby/2.0.0/tsort.rb:180:in `each'
from C:/ruby/Ruby200/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from C:/ruby/Ruby200/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/config/environment.rb:5:in `<top (required)>'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/config.ru:3:in `block in <main>'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/config.ru:in `new'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/config.ru:in `<main>'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:48:in `app'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands/server.rb:75:in `start'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
from D:/work/projects/ror/clientsite.com/sites/deals.clientsite.com/vendor/extensions/advanced_reporting/ruby/2.0.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'

Resources