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

Miguel Angel Quintana
Miguel Angel Quintana
6,493 Points

"WARNING: Nokogiri was built against LibXML version 2.9.2, but has dynamically loaded 2.8.0" error after rake

after i run rake i get

/Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
/Users/miguel/.rvm/rubies/ruby-2.2.1/bin/ruby -S rspec ./spec/controllers/todo_items_controller_spec.rb ./spec/controllers/todo_lists_controller_spec.rb ./spec/controllers/users_controller_spec.rb ./spec/features/todo_items/complete_spec.rb ./spec/features/todo_items/create_spec.rb ./spec/features/todo_items/delete_spec.rb ./spec/features/todo_items/edit_spec.rb ./spec/features/todo_items/index_spec.rb ./spec/features/todo_lists/create_spec.rb ./spec/features/todo_lists/destroy_spec.rb ./spec/features/todo_lists/edit_spec.rb ./spec/helpers/todo_items_helper_spec.rb ./spec/helpers/todo_lists_helper_spec.rb ./spec/helpers/users_helper_spec.rb ./spec/models/todo_item_spec.rb ./spec/models/todo_list_spec.rb ./spec/models/user_spec.rb ./spec/requests/todo_lists_spec.rb ./spec/routing/todo_lists_routing_spec.rb ./spec/routing/users_routing_spec.rb ./spec/views/todo_items/index.html.erb_spec.rb ./spec/views/todo_lists/edit.html.erb_spec.rb ./spec/views/todo_lists/index.html.erb_spec.rb ./spec/views/todo_lists/new.html.erb_spec.rb ./spec/views/todo_lists/show.html.erb_spec.rb ./spec/views/users/edit.html.erb_spec.rb ./spec/views/users/new.html.erb_spec.rb ./spec/views/users/show.html.erb_spec.rb
/Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
WARNING: Nokogiri was built against LibXML version 2.9.2, but has dynamically loaded 2.8.0
/Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require': cannot load such file -- test/unit/assertions (LoadError)
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `block in require'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in `load_dependency'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:3:in `<top (required)>'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `block in require'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in `load_dependency'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-rails-2.14.0/lib/rspec/rails.rb:11:in `<top (required)>'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `block in require'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in `load_dependency'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
    from /Users/miguel/TH_TodoList/spec/spec_helper.rb:4:in `<top (required)>'
    from /Users/miguel/TH_TodoList/spec/controllers/todo_items_controller_spec.rb:1:in `require'
    from /Users/miguel/TH_TodoList/spec/controllers/todo_items_controller_spec.rb:1:in `<top (required)>'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `load'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `block in load_spec_files'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `each'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `load_spec_files'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:22:in `run'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
    from /Users/miguel/.rvm/gems/ruby-2.2.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
/Users/miguel/.rvm/rubies/ruby-2.2.1/bin/ruby -S rspec ./spec/controllers/todo_items_controller_spec.rb ./spec/controllers/todo_lists_controller_spec.rb ./spec/controllers/users_controller_spec.rb ./spec/features/todo_items/complete_spec.rb ./spec/features/todo_items/create_spec.rb ./spec/features/todo_items/delete_spec.rb ./spec/features/todo_items/edit_spec.rb ./spec/features/todo_items/index_spec.rb ./spec/features/todo_lists/create_spec.rb ./spec/features/todo_lists/destroy_spec.rb ./spec/features/todo_lists/edit_spec.rb ./spec/helpers/todo_items_helper_spec.rb ./spec/helpers/todo_lists_helper_spec.rb ./spec/helpers/users_helper_spec.rb ./spec/models/todo_item_spec.rb ./spec/models/todo_list_spec.rb ./spec/models/user_spec.rb ./spec/requests/todo_lists_spec.rb ./spec/routing/todo_lists_routing_spec.rb ./spec/routing/users_routing_spec.rb ./spec/views/todo_items/index.html.erb_spec.rb ./spec/views/todo_lists/edit.html.erb_spec.rb ./spec/views/todo_lists/index.html.erb_spec.rb ./spec/views/todo_lists/new.html.erb_spec.rb ./spec/views/todo_lists/show.html.erb_spec.rb ./spec/views/users/edit.html.erb_spec.rb ./spec/views/users/new.html.erb_spec.rb ./spec/views/users/show.html.erb_spec.rb failed

i downloaded the Project file the previews course . plese help i dont know how to fix it

Ive seen a few people ask the same question but no real solution has came up .

1 Answer

Hi Miguel,

You have a warning about Nokogiri; I don't think that's causing the rest of the errors, though.

To clear the Nokogiri warning, have a read through some suggestions in this post.

The main error is to do with rspec. Have you installed rspec directly or just run bundle?

Steve.