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 trialxsieh minghong
Front End Web Development Techdegree Student 4,340 PointsRspec 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: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:in load_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/.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: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:in load_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/.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:in
require'
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:in
load_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:in
block 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:in
load_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:in
run'
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
57,712 PointsHi 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.
xsieh minghong
Front End Web Development Techdegree Student 4,340 Pointsxsieh minghong
Front End Web Development Techdegree Student 4,340 PointsThank you,Steve! I got the answer from that article.
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsExcellent - glad you got it fixed!