I have no idea what's going on. I updated my rail to version 4.2.1 and now I can't generate a server. I run
$rails s
like normal and it starts up fine but then immediately exits. I've pasted the message below. Any ideas would be greatly appreciated
=> Booting WEBrick
=> Rails 4.2.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo1.2.2/lib/tzinfo/data_source.rb:182:in `rescue in create_default_data_source': No source of timezone data could be found. (TZInfo::DataSourceNotFound)
Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:179:in `create_default_data_source'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:40:in `block in get'
from <internal:prelude>:10:in `synchronize'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb:39:in `get'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:629:in `data_source'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:92:in `get'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb:67:in `real_timezone'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb:30:in `period_for_utc'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb:549:in `current_period'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/values/time_zone.rb:282:in `utc_offset'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/values/time_zone.rb:243:in `block in []'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/values/time_zone.rb:243:in `tap'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/values/time_zone.rb:243:in `[]'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/core_ext/time/zones.rb:61:in `find_zone!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-4.2.1/lib/active_support/railtie.rb:20:in `block in <class:Railtie>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:150:in `block in tsort_each'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:219:in `each_strongly_connected_component_from'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:182:in `block in each_strongly_connected_component'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:180:in `each'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:180:in `each_strongly_connected_component'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:148:in `tsort_each'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/railtie.rb:194:in `public_send'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/railtie.rb:194:in `method_missing'
from C:/Users/Scott/CustomerDatabase/config/environment.rb:5:in `<top (required)>'
from C:/Users/Scott/CustomerDatabase/config.ru:3:in `require'
from C:/Users/Scott/CustomerDatabase/config.ru:3:in `block in <main>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.6.1/lib/rack/builder.rb:55:in `instance_eval'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.6.1/lib/rack/builder.rb:55:in `initialize'
from C:/Users/Scott/CustomerDatabase/config.ru:in `new'
from C:/Users/Scott/CustomerDatabase/config.ru:in `<main>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.6.1/lib/rack/builder.rb:49:in `eval'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.6.1/lib/rack/builder.rb:49:in `new_from_string'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.6.1/lib/rack/builder.rb:40:in `parse_file'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.6.1/lib/rack/server.rb:299:in `build_app_and_options_from_config'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.6.1/lib/rack/server.rb:208:in `app'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/commands/server.rb:61:in `app'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.6.1/lib/rack/server.rb:336:in `wrapped_app'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/commands/server.rb:139:in `log_to_stdout'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/commands/server.rb:78:in `start'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:80:in `block in server'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `tap'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `server'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.2.1/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
Related
In another thread I explained I am a newbie RoR. I had a problem with the puma 3.8.0 gem then I downgraded to fixed one issue. But, it created another problem:
/root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/app_loader.rb:40: warning: Insecure world writable dir /root/.rbenv/versions in PATH, mode 040777
=> Booting Puma
=> Rails 5.0.2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Exiting
/root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rb-inotify-0.9.8/lib/rb-inotify/watcher.rb:74:in `initialize': Invalid argument - Failed to watch "/root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/locale": the given event mask contains no legal events; or fd is not an inotify file descriptor. (Errno::EINVAL)
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rb-inotify-0.9.8/lib/rb-inotify/notifier.rb:190:in `new'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rb-inotify-0.9.8/lib/rb-inotify/notifier.rb:190:in `watch'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rb-inotify-0.9.8/lib/rb-inotify/notifier.rb:208:in `watch'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/adapter/linux.rb:32:in `_configure'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/adapter/base.rb:45:in `block in configure'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/adapter/base.rb:40:in `each'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/adapter/base.rb:40:in `configure'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/adapter/base.rb:63:in `start'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/backend.rb:28:in `start'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/listener.rb:67:in `block in <class:Listener>'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/fsm.rb:120:in `instance_eval'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/fsm.rb:120:in `call'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/fsm.rb:91:in `transition_with_callbacks!'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/fsm.rb:57:in `transition'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/listen-3.0.8/lib/listen/listener.rb:90:in `start'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/evented_file_update_checker.rb:90:in `boot!'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/evented_file_update_checker.rb:61:in `initialize'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/i18n_railtie.rb:59:in `new'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/i18n_railtie.rb:59:in `initialize_i18n'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/i18n_railtie.rb:15:in `block in <class:Railtie>'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/lazy_load_hooks.rb:41:in `execute_hook'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/lazy_load_hooks.rb:49:in `each'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/lazy_load_hooks.rb:49:in `run_load_hooks'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/application/finisher.rb:65:in `block in <module:Finisher>'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/initializable.rb:30:in `instance_exec'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/initializable.rb:30:in `run'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/initializable.rb:55:in `block in run_initializers'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `each'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `call'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/initializable.rb:54:in `run_initializers'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/application.rb:352:in `initialize!'
from /root/appnew/config/environment.rb:5:in `<top (required)>'
from /root/appnew/config.ru:3:in `require_relative'
from /root/appnew/config.ru:3:in `block in <main>'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.1/lib/rack/builder.rb:55:in `instance_eval'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.1/lib/rack/builder.rb:55:in `initialize'
from /root/appnew/config.ru:in `new'
from /root/appnew/config.ru:in `<main>'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.1/lib/rack/builder.rb:49:in `eval'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.1/lib/rack/builder.rb:49:in `new_from_string'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.1/lib/rack/builder.rb:40:in `parse_file'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.1/lib/rack/server.rb:318:in `build_app_and_options_from_config'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.1/lib/rack/server.rb:218:in `app'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/commands/server.rb:59:in `app'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.1/lib/rack/server.rb:353:in `wrapped_app'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/commands/server.rb:124:in `log_to_stdout'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/commands/server.rb:77:in `start'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:90:in `block in server'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `tap'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `server'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in `<top (required)>'
from /root/appnew/bin/rails:9:in `require'
from /root/appnew/bin/rails:9:in `<top (required)>'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in `load'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in `call'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.1/lib/spring/client/command.rb:7:in `call'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.1/lib/spring/client.rb:30:in `run'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.1/bin/spring:49:in `<top (required)>'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.1/lib/spring/binstub.rb:31:in `load'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.1/lib/spring/binstub.rb:31:in `<top (required)>'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require'
from /root/appnew/bin/spring:15:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
I'm not too sure what I am looking at? Hoping someone can point me in the right direction.
According to https://github.com/rails/rails/issues/26054 you can create an app with:
rails new --skip-spring --skip-listen APP_NAME
As noted in the link above this should be fixed in Windows 10 Insider builds >= 14942.
I got rails server working using the command above to create my rails app.
My ruby version is 2.4.0p0, rails version is 5.1.0.beta1 and puma version 3.7.1.
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'
Getting the same error every time when trying to start ANY project on rails 4 or 5 using ruby 2.2.5 and 2.3.1 even on the fresh projects.
Tried to reinstall rbenv but didn't help. Anybody got a solution?
fedyay#fedyay-note:~/shit$ rails s
=> Booting WEBrick
=> Rails 4.2.3 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/psych.rb:370:in `parse': (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 22 column 20 (Psych::SyntaxError)
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/psych.rb:370:in `parse_stream'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/psych.rb:318:in `parse'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/psych.rb:245:in `load'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/application.rb:391:in `secrets'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/application.rb:178:in `key_generator'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/application.rb:206:in `message_verifier'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/globalid-0.3.7/lib/global_id/railtie.rb:25:in `block (2 levels) in <class:Railtie>'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/lazy_load_hooks.rb:36:in `call'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/lazy_load_hooks.rb:44:in `each'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/application/finisher.rb:62:in `block in <module:Finisher>'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:30:in `instance_exec'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:30:in `run'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:345:in `each'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:345:in `call'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:54:in `run_initializers'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/application.rb:352:in `initialize!'
from /home/fedyay/shit/config/environment.rb:5:in `<top (required)>'
from /home/fedyay/shit/config.ru:3:in `require'
from /home/fedyay/shit/config.ru:3:in `block in <main>'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
from /home/fedyay/shit/config.ru:in `new'
from /home/fedyay/shit/config.ru:in `<main>'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/server.rb:61:in `app'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/server.rb:139:in `log_to_stdout'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/server.rb:78:in `start'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:80:in `block in server'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in `tap'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in `server'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands.rb:17:in `<top (required)>'
from /home/fedyay/shit/bin/rails:9:in `require'
from /home/fedyay/shit/bin/rails:9:in `<top (required)>'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/client/rails.rb:28:in `load'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/client/rails.rb:28:in `call'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/client/command.rb:7:in `call'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/client.rb:30:in `run'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/spring-2.0.0/bin/spring:49:in `<top (required)>'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/binstub.rb:31:in `load'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/binstub.rb:31:in `<top (required)>'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /home/fedyay/.rbenv/versions/2.2.5/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /home/fedyay/shit/bin/spring:14:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
Seems like you have tabs in your YAML file instead of spaces.
Change them to spaces from your editor settings
Solution for similar question is given here
So not realy sure what's going on but it started OK with 'sudo rails s'.
I am getting this error while running command rails s
=> Booting Thin
=> Rails 5.0.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Exiting
/var/lib/gems/2.2.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:90:in `<module:Session>': uninitialized constant Rack::Session::Abstract::Persisted (NameError)
from /var/lib/gems/2.2.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:8:in `<module:ActionDispatch>'
from /var/lib/gems/2.2.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:7:in `<top (required)>'
from /var/lib/gems/2.2.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/cookie_store.rb:2:in `<top (required)>'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/application/configuration.rb:181:in `const_get'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/application/configuration.rb:181:in `session_store'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/application/default_middleware_stack.rb:58:in `block in build_stack'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/application/default_middleware_stack.rb:13:in `tap'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/application/default_middleware_stack.rb:13:in `build_stack'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/application.rb:504:in `default_middleware_stack'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/engine.rb:506:in `block in app'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/engine.rb:504:in `synchronize'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/engine.rb:504:in `app'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:37:in `block in <module:Finisher>'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /usr/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from /usr/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /usr/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from /usr/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /usr/lib/ruby/2.2.0/tsort.rb:345:in `each'
from /usr/lib/ruby/2.2.0/tsort.rb:345:in `call'
from /usr/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from /usr/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from /usr/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
from /root/sites/instagramm/config/environment.rb:5:in `<top (required)>'
from /root/sites/instagramm/config.ru:3:in `require_relative'
from /root/sites/instagramm/config.ru:3:in `block in <main>'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
from /root/sites/instagramm/config.ru:in `new'
from /root/sites/instagramm/config.ru:in `<main>'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:49:in `eval'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:49:in `new_from_string'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:40:in `parse_file'
from /var/lib/gems/2.2.0/gems/rack-2.0.1/lib/rack/server.rb:318:in `build_app_and_options_from_config'
from /var/lib/gems/2.2.0/gems/rack-2.0.1/lib/rack/server.rb:218:in `app'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:59:in `app'
from /var/lib/gems/2.2.0/gems/rack-2.0.1/lib/rack/server.rb:353:in `wrapped_app'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:124:in `log_to_stdout'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/server.rb:77:in `start'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:90:in `block in server'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /var/lib/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
It looks you're using rack from two places /usr/lib/ruby/vendor_ruby/rack and /var/lib/gems/2.2.0/gems/rack-2.0.1.
Removing that vendor_ruby (not confirmed) could help. Buy maybe a better choice is to install rvm or rbenv to handle your ruby/gems versions.
My rails server doesn't work for one project, but DOES work for another project.
For the project that does not work, when I run rails s in my terminal I get the the following output:
=> Booting Thin
=> 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
/Users/christinating/.rvm/gems/ruby-2.1.3/bundler/gems/active_admin-48a8674a4566/lib/active_admin/application.rb:116:in `allow_comments=': `config.allow_comments` is no longer provided in ActiveAdmin 1.x. Use `config.comments` instead. (RuntimeError)
from /Users/christinating/scholarhood/config/initializers/active_admin.rb:104:in `block in <top (required)>'
from /Users/christinating/.rvm/gems/ruby-2.1.3/bundler/gems/active_admin-48a8674a4566/lib/active_admin.rb:71:in `setup'
from /Users/christinating/scholarhood/config/initializers/active_admin.rb:1:in `<top (required)>'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/zeus-0.15.4/lib/zeus/load_tracking.rb:50:in `load'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/zeus-0.15.4/lib/zeus/load_tracking.rb:50:in `load'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/zeus-0.15.4/lib/zeus/load_tracking.rb:43:in `load'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:241:in `block in load'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:241:in `load'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/engine.rb:648:in `block in load_config_initializer'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/activesupport-4.1.0/lib/active_support/notifications.rb:161:in `instrument'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/engine.rb:647:in `load_config_initializer'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/engine.rb:611:in `each'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/engine.rb:611:in `block in <class:Engine>'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/initializable.rb:30:in `run'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/initializable.rb:44:in `each'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/initializable.rb:44:in `tsort_each_child'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:411:in `call'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in `each'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in `call'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
from /Users/christinating/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/application.rb:288:in `initialize!'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/railtie.rb:194:in `public_send'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/railtie.rb:194:in `method_missing'
from /Users/christinating/scholarhood/config/environment.rb:5:in `<top (required)>'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
from /Users/christinating/scholarhood/config.ru:11:in `block in <main>'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from /Users/christinating/scholarhood/config.ru:in `new'
from /Users/christinating/scholarhood/config.ru:in `<main>'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/commands/server.rb:50:in `app'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/commands/server.rb:130:in `log_to_stdout'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/commands/server.rb:67:in `start'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:81:in `block in server'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `tap'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `server'
from /Users/christinating/.rvm/gems/ruby-2.1.3/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/christinating/.rvm/gems/ruby-2.1.3/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>'
This project requires version ruby 2.1.3 to work though.
Can anyone please help me?
According to the error message:
config.allow_comments is no longer provided in ActiveAdmin 1.x. Use config.comments instead.
So, you need to edit config/initializers/active_admin.rb and change:
config.allow_comments
to:
config.comments