Could not find generator rspec:install (q2)

Viewed 30966
12 Answers

If you, like me, created a project, decided you wanted to archive the old directory and start again, but left spring running in the background on accident, spring won't reload from the correct directory and you'll be very confused.

The solution is to stop spring and let it restart on its own.

I had do both gem install rspec and then add to gemfile as Andreas said.

using Rails 3.2.1 and ruby 1.9.3 at windows 7 and worked perfectly.

Restart spring - sometimes it fails to reload after running bundle.

Restart spring - sometimes it fails to reload after running bundle. To stop spring you can use bin/spring stop. It should start automatically when you run rails commands.

Related