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 trialMadhukar Narahari
8,965 PointsUnable to proceed further rake spec failed. working on windows machine with ruby installed
C:\railsinstaller\odot>rake spec
DL is deprecated, please use Fiddle
C:/RailsInstaller/Ruby2.1.0/bin/ruby.exe -S rspec ./spec/controllers/todo_lists_controller_spec.rb ./spec/helpers/todo_lists_helper_spec.rb ./spec/models/todo_list_spec.rb ./spec/req
uests/todo_lists_spec.rb ./spec/routing/todo_lists_routing_spec.rb ./spec/views/todo_lists/edit.html.erb_spec.rb ./spec/views/todo_lists/index.html.erb_spec.rb ./spec/views/todo_list
s/new.html.erb_spec.rb ./spec/views/todo_lists/show.html.erb_spec.rb
DL is deprecated, please use Fiddle
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in require': cannot load such file -- rspec/capybara (LoadError)
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in
block in require'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in load_dependency'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in
require'
from C:/railsinstaller/odot/spec/spec_helper.rb:6:in <top (required)>'
from C:/railsinstaller/odot/spec/controllers/todo_lists_controller_spec.rb:1:in
require'
from C:/railsinstaller/odot/spec/controllers/todo_lists_controller_spec.rb:1:in <top (required)>'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in
load'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in block in load_spec_files'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in
each'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in load_spec_files'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:18:in
run'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in run'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in
block in autorun'
C:/RailsInstaller/Ruby2.1.0/bin/ruby.exe -S rspec ./spec/controllers/todo_lists_controller_spec.rb ./spec/helpers/todo_lists_helper_spec.rb ./spec/models/todo_list_spec.rb ./spec/req
uests/todo_lists_spec.rb ./spec/routing/todo_lists_routing_spec.rb ./spec/views/todo_lists/edit.html.erb_spec.rb ./spec/views/todo_lists/index.html.erb_spec.rb ./spec/views/todo_list
s/new.html.erb_spec.rb ./spec/views/todo_lists/show.html.erb_spec.rb failed
1 Answer
Conrad Spotts
11,768 PointsI had this exact same issue a few months back (but on mac) when I tried to download the odot project files for the active record course and get it working on my machine. I'll be honest with you and say that it ended with me taking the active record course without ever running rspec and just diligently following along, but maybe my answer might inspire great things in you or cause one of our fellow learners to correct me ;)
So I was on a different operating system, but I notice that you are getting the same message I did about rspec/capybara not being able to load. You may want to check to make sure you have the capybara gem or the correct version of capybara meaning you might have to install a certain version of the gem that is different from the one used in the project videos. What this might mean for you is that it may not actually be a windows specific issue and seeking out info regarding rspec and capybara might lead to your answer.
I'm sorry I don't have a more concise or definitive answer for you. I hope you can get this resolved, but even if not, don't let it stop you from learning and pushing forward!
Madhukar Narahari
8,965 PointsMadhukar Narahari
8,965 Pointsruby version :ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]