spec_helper LoadError

I just tried to run “rspec” and got this error.

ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- spec_helper (LoadError)

The problem was that the file “spec_helper” was not existing. a simple:

rails generate rspec:install

solved the problem.

Published by Robert Reiz

CEO @ VersionEye. Passionated software developer since 1998.

6 thoughts on “spec_helper LoadError

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: