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