Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Austin Klenk
4,399 PointsRails Application Server start error
austins-mbp:MTRV_CLOUD serveradmin$ rails s
=> Booting WEBrick
=> Rails 4.0.3 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/serveradmin/Development/MTRV_CLOUD/config/initializers/devise.rb:3:in `<top (required)>': uninitialized constant Devise (NameError)
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/engine.rb:609:in `block (2 levels) in <class:Engine>'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/engine.rb:608:in `each'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/engine.rb:608:in `block in <class:Engine>'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/initializable.rb:30:in `run'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/initializable.rb:44:in `each'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/initializable.rb:44:in `tsort_each_child'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:411:in `call'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:345:in `each'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:345:in `call'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
from /Users/serveradmin/.rbenv/versions/2.1.0/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/application.rb:215:in `initialize!'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/serveradmin/Development/MTRV_CLOUD/config/environment.rb:5:in `<top (required)>'
from /Users/serveradmin/Development/MTRV_CLOUD/config.ru:3:in `require'
from /Users/serveradmin/Development/MTRV_CLOUD/config.ru:3:in `block in <main>'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from /Users/serveradmin/Development/MTRV_CLOUD/config.ru:in `new'
from /Users/serveradmin/Development/MTRV_CLOUD/config.ru:in `<main>'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
from /Users/serveradmin/.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/serveradmin/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/commands/server.rb:48:in `app'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/commands/server.rb:75:in `start'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/commands.rb:76:in `block in <top (required)>'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/commands.rb:71:in `tap'
from /Users/serveradmin/.rvm/gems/ruby-2.1.1/gems/railties-4.0.3/lib/rails/commands.rb:71:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
austins-mbp:MTRV_CLOUD serveradmin$
1 Answer

Maciej Czuchnowski
36,440 PointsMake sure you:
have this line in config/application.rb:
Bundler.require
have
gem 'devise'
in your Gemfilerun
bundle install
successfully in your app folder
Fredrik August Madsen-Malmo
16,260 PointsFredrik August Madsen-Malmo
16,260 PointsHave you made tests for everything on your page and made sure that worked?