This never seems to work for me. I can run the specs using “bundle exec rspec”, but it doesnt work when I try to run the specs on a specific problem.
Here is one example of what happened whhen I try to run a specific file:
~/03b91885-npsandler-rspec-2 (master)$ bundle exec rspec 00_silly_blocks.rb
bundler: failed to load command: rspec (/Users/nathaniel/.rbenv/versions/2.3.1/bin/rspec)
LoadError: cannot load such file – /Users/nathaniel/03b91885-npsandler-rspec-2/00_silly_blocks.rb
/Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:inload' /Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:in
block in load_spec_files’
/Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1224:ineach' /Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1224:in
load_spec_files’
/Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:97:insetup' /Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:85:in
run’
/Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:70:inrun' /Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:38:in
invoke’
/Users/nathaniel/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/exe/rspec:4:in<top (required)>' /Users/nathaniel/.rbenv/versions/2.3.1/bin/rspec:23:in
load’
/Users/nathaniel/.rbenv/versions/2.3.1/bin/rspec:23:in `<top (required)>’