Note that there are some explanatory texts on larger screens.

plurals
  1. PORails rspec issues (cannot load such file --b (LoadError))
    text
    copied!<p>I'm following Hartl's guide to Ruby on Rails, and I'm currently trying to set up "guard" and "spork" for automating "rspec" testing. When I try to run <code>bundle exec rspec spec/requests/static_pages_spec.rb</code></p> <p>I get the following errors:</p> <pre><code>/home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:434:in `require': cannot load such file -- b (LoadError) from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:434:in `block in requires=' from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:434:in `map' from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:434:in `requires=' from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/configuration_options.rb:20:in `block in configure' from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/configuration_options.rb:19:in `each' from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/configuration_options.rb:19:in `configure' from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:21:in `run' from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run' from /home/throne/.rvm/gems/ruby-1.9.3-p392@rails3tutorial2ndEd/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `block in autorun' </code></pre> <p>I looked at other solutions for people who had similar kinds of problems (things like reinstalling gems, using absolute paths and fixing do / end statements in the target file), but none of them seemed to even change the issue. Thanks for any help!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload