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 Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Deleting Todo Lists

Barry Deck
Barry Deck
4,016 Points

unexpected bin/rake spec error

Instead of the errors from the video, I got:

$ bin/rake spec --trace
rake aborted!
NoMethodError: undefined method `configure' for RSpec:Module
/home/treehouse/projects/odot/config/application.rb:23:in `<class:Application>'
/home/treehouse/projects/odot/config/application.rb:10:in `<module:Odot>'
/home/treehouse/projects/odot/config/application.rb:9:in `<top (required)>'
/home/treehouse/projects/odot/Rakefile:4:in `require'
/home/treehouse/projects/odot/Rakefile:4:in `<top (required)>'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/rake_module.rb:28:in `load'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/rake_module.rb:28:in `load_rakefile'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/application.rb:689:in `raw_load_rakefile'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/application.rb:94:in `block in load_rakefile'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/application.rb:93:in `load_rakefile'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/application.rb:77:in `block in run'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `run'
bin/rake:4:in `<main>'

Additionally, I can't start the server for this project. Error message below.

$ bin/rails server
/home/treehouse/projects/odot/config/application.rb:23:in `<class:Application>': undefined method `configure' for RSpec:Module (NoMethodError)
    from /home/treehouse/projects/odot/config/application.rb:10:in `<module:Odot>'
    from /home/treehouse/projects/odot/config/application.rb:9:in `<top (required)>'
    from /home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:74:in `require'
    from /home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:74:in `block in <top (required)>'
    from /home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:71:in `tap'
    from /home/treehouse/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/commands.rb:71:in `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'

Not sure what this means. Any ideas? Thanks,

Barry