Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Editing Todo Items

xsieh minghong
xsieh minghong
Front End Web Development Techdegree Student 4,340 Points

Rspec isn't working properly

ruby@ruby:~/odot$ bin/rspec --format=documentation spec/features/todo_items/edit_spec.rb /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in require': cannot load such file -- test/unit/assertions (LoadError) from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:inblock in require' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in load_dependency' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:inrequire' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:17:in rescue in <module:Rails>' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:12:in<module:Rails>' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:6:in <module:RSpec>' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:5:in<top (required)>' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in require' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:inblock in require' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in load_dependency' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:inrequire' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-rails-2.99.0/lib/rspec/rails.rb:11:in <top (required)>' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:inrequire' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in block in require' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:inload_dependency' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in require' from /home/ruby/odot/spec/spec_helper.rb:4:in<top (required)>' from /home/ruby/odot/spec/features/todo_items/edit_spec.rb:1:in require' from /home/ruby/odot/spec/features/todo_items/edit_spec.rb:1:in<top (required)>' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in load' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:inblock in load_spec_files' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in each' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:inload_spec_files' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:18:in run' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:inrun' from /home/ruby/.rvm/gems/ruby-2.2.0@rails420/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun' ruby@ruby:~/odot$

1 Answer

Steve Hunter
MOD
Steve Hunter
Treehouse Moderator 57,656 Points

Hi there,

That looks like you have a dependencies issue. Have you checked your Gemfile to ensure you have everything required in there?

Have a read through this post that adds a few other things to check too.

Let me know how you get on.

Steve.