Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

xsieh minghong
seal-mask
.a{fill-rule:evenodd;}techdegree
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

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.

Excellent - glad you got it fixed! :smile: