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.

Ruby

Jed Bradshaw
Jed Bradshaw
6,053 Points

undefined local variable for or method config for main:Object - "Creating an authentication system"

Ran into some major problems with this lesson. Haven't had an trouble beforehand. Here is the error logs from Command Prompt. Thank you for any help!

Using json (1.8.0) Using tilt (1.4.1) Using sprockets (2.10.0) Using sprockets-rails (2.0.0) Using rails (4.0.0.rc2) Using rdoc (3.12.2) Using sass (3.2.10) Using sass-rails (4.0.0) Using sdoc (0.3.20) Using sqlite3 (1.3.7) Using turbolinks (1.3.0) Using uglifier (2.1.2) Your bundle is complete! Use bundle show [gemname] to see where a bundled gem is installed.

C:\Sites\treebook>rails generate devise: install invoke active_record create db/migrate/20130813030158_devise_create_installs.rb create app/models/install.rb invoke test_unit create test/models/install_test.rb create test/fixtures/installs.yml insert app/models/install.rb route devise_for :installs

C:\Sites\treebook>rails generate devise user C:/Sites/treebook/config/environments/development.rb:31:in <top (required)>': u ndefined local variable or methodconfig' for main:Object (NameError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:inblock in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:213:in load_dependency' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:inrequire' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/engine.rb:591:in block (2 levels) in <class:Engine>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/engine.rb:590:ineach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/engine.rb:590:in block in <class:Engine>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:30:ininstance_exec' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:30:in run' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:55:inblock in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:150:in block i n tsort_each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:183:inblock ( 2 levels) in each_strongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:210:in block ( 2 levels) in each_strongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:219:ineach_st rongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:209:in block i n each_strongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:44:ineach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:44:in tsort_each_child' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:203:ineach_st rongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:182:in block i n each_strongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:180:ineach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:180:in each_st rongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:148:intsort_e ach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:54:in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/application.rb:215:ininitialize!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/railtie/configurable.rb:30:in method_missing' from C:/Sites/treebook/config/environment.rb:5:in<top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:inblock in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:213:in load_dependency' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:inrequire' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/application.rb:189:in require_environment!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands.rb:47:in<top (required)>' from bin/rails:4:in require' from bin/rails:4:in<main>'

C:\Sites\treebook>rake db: migrate rake aborted! Don't know how to build task 'db:'

(See full trace by running task with --trace)

C:\Sites\treebook>rake db:migrate rake aborted! undefined local variable or method config' for main:Object C:/Sites/treebook/config/environments/development.rb:31:in<top (required)>' C:/Sites/treebook/config/environment.rb:5:in `<top (required)>' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace)

C:\Sites\treebook>rake routes rake aborted! undefined local variable or method config' for main:Object C:/Sites/treebook/config/environments/development.rb:31:in<top (required)>' C:/Sites/treebook/config/environment.rb:5:in `<top (required)>' Tasks: TOP => routes => environment (See full trace by running task with --trace)

C:\Sites\treebook>rake db:migrate rake aborted! Rails::Application::RoutesReloader#execute_if_updated delegated to updater.execu te_if_updated, but updater is nil: #<Rails::Application::RoutesReloader:0x37f8ca 8 @paths=["C:/Sites/treebook/config/routes.rb"], @route_sets=[#<ActionDispatch:: Routing::RouteSet:0x37f8be8>]> C:3:in rescue in execute_if_updated' C:65535:inexecute_if_updated' C:/Sites/treebook/config/environment.rb:5:in `<top (required)>' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace)

C:\Sites\treebook>rake routes rake aborted! Rails::Application::RoutesReloader#execute_if_updated delegated to updater.execu te_if_updated, but updater is nil: #<Rails::Application::RoutesReloader:0x358bf3 0 @paths=["C:/Sites/treebook/config/routes.rb"], @route_sets=[#<ActionDispatch:: Routing::RouteSet:0x358bed0>]> C:3:in rescue in execute_if_updated' C:65535:inexecute_if_updated' C:/Sites/treebook/config/environment.rb:5:in `<top (required)>' Tasks: TOP => routes => environment (See full trace by running task with --trace)

C:\Sites\treebook>rails s => Booting WEBrick => Rails 4.0.0.rc2 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:3:in rescue in execute_if_updated': Rails::Application::RoutesReloader#execut e_if_updated delegated to updater.execute_if_updated, but updater is nil: #<Rail s::Application::RoutesReloader:0x2941908 @paths=["C:/Sites/treebook/config/route s.rb"], @route_sets=[#<ActionDispatch::Routing::RouteSet:0x29418a8>]> (RuntimeEr ror) from C:65535:inexecute_if_updated' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/application/finisher.rb:69:in block in <module:Finisher>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:30:ininstance_exec' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:30:in run' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:55:inblock in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:150:in block i n tsort_each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:183:inblock ( 2 levels) in each_strongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:219:in each_st rongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:182:inblock i n 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:ineach_st rongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:148:in tsort_e ach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:54:inrun_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/application.rb:215:in initialize!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/railtie/configurable.rb:30:inmethod_missing' from C:/Sites/treebook/config/environment.rb:5:in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:inrequire' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:in block in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:213:inload_dependency' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:in require' from C:/Sites/treebook/config.ru:3:inblock in <main>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:55:in instance_eval' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:55:ininitialize' from C:/Sites/treebook/config.ru:in new' from C:/Sites/treebook/config.ru:in<main>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:49:in eval' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:49:innew_from_string' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:40:in parse_file' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:277:inbuild_app_and_options_from_config' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:199:in app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands/server.rb:48:inapp' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:314:in wrapped_app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands/server.rb:75:instart' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands.rb:80:in block in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands.rb:75:intap' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands.rb:75:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in `<main>'

C:\Sites\treebook>rails s => Booting WEBrick => Rails 4.0.0.rc2 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:3:in rescue in execute_if_updated': Rails::Application::RoutesReloader#execut e_if_updated delegated to updater.execute_if_updated, but updater is nil: #<Rail s::Application::RoutesReloader:0x2cf82a8 @paths=["C:/Sites/treebook/config/route s.rb"], @route_sets=[#<ActionDispatch::Routing::RouteSet:0x2cf8248>]> (RuntimeEr ror) from C:65535:inexecute_if_updated' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/application/finisher.rb:69:in block in <module:Finisher>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:30:ininstance_exec' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:30:in run' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:55:inblock in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:150:in block i n tsort_each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:183:inblock ( 2 levels) in each_strongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:219:in each_st rongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:182:inblock i n 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:ineach_st rongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:148:in tsort_e ach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/initializable.rb:54:inrun_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/application.rb:215:in initialize!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/railtie/configurable.rb:30:inmethod_missing' from C:/Sites/treebook/config/environment.rb:5:in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:inrequire' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:in block in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:213:inload_dependency' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0.rc2/lib/active_support/dependencies.rb:228:in require' from C:/Sites/treebook/config.ru:3:inblock in <main>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:55:in instance_eval' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:55:ininitialize' from C:/Sites/treebook/config.ru:in new' from C:/Sites/treebook/config.ru:in<main>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:49:in eval' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:49:innew_from_string' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:40:in parse_file' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:277:inbuild_app_and_options_from_config' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:199:in app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands/server.rb:48:inapp' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:314:in wrapped_app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands/server.rb:75:instart' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands.rb:80:in block in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands.rb:75:intap' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 .rc2/lib/rails/commands.rb:75:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in `<main>'

C:\Sites\treebook>

3 Answers

Andrew Chalkley
STAFF
Andrew Chalkley
Treehouse Guest Teacher

I think this issue is is that you're using a newer version of Rails. It looks like you're using 4.0.0 Release Candidate 2. Use the same version as Jason Seifer in the videos and you should be fine.

Jed Bradshaw
Jed Bradshaw
6,053 Points

Ok I think you are right, but now I am running into huge issues with trying to downgrade. I have uninstalled 4.0 and installed 3.2.13 multiple times (whilst also installing and using Bundler), in multiple directories also. When I check what version I am using the command console says 4.0 but when I use 'gem uninstall rails' it only lists 3.2 versions. I have also re-installed via my original Rails Installer .exe and it automatically installed 4.0. I even changed my code in Sublime: all references to 4.0 are now 3.2.13.

I don't get how I'm supposed to get to 3.2. I can't start a server either. It keeps giving me this error code: c:\Sites\treebook>rails s C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/actio n_dispatch.rb:34:in `require': cannot load such file -- active_model (LoadError)

    from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3.2

.13/lib/action_dispatch.rb:34:in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1 3/lib/rails/commands/server.rb:3:inrequire' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1 3/lib/rails/commands/server.rb:3:in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1 3/lib/rails/commands.rb:49:inrequire' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1 3/lib/rails/commands.rb:49:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in `<main>'

Any help would be much appreciated. Mainly, I just want to get to 3.2.13. If I use Rails Installer it automatically installs 4.0. I'm not opposed to starting over. Thank you! Andrew Chalkley

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

Have you specified the version of rails in your Gemfile like this?

gem 'rails', '3.2.13'

It looks like you possibly have a space between the 1 and 3 so you could have something like this:

gem 'rails', '3.2.1 3'

Uninstall all versions of rails. Then bundle install with the correct Gemfile configuration.

Jed Bradshaw
Jed Bradshaw
6,053 Points

Ok, I think I managed to get everything running (or at least I cut down on the error logs!). I am now running rails 3.2.13 and am trying to migrate. I get this error code now:

c:\Sites\treebook>rake db:migrate rake aborted! cannot load such file -- active_model c:/Sites/treebook/config/application.rb:3:in require' c:/Sites/treebook/config/application.rb:3:in<top (required)>' c:/Sites/treebook/Rakefile:4:in `<top (required)>' (See full trace by running task with --trace)

Also, when I try to start a server, the command console just spits out the 'Usage' directory. Andrew Chalkley

Edit: Solved. Answer here: https://teamtreehouse.com/forum/error-code-trying-to-migrate