Hi, trying to learn ruby on rails at the moment and currently learning about testing. The tutorial I'm following uses rspec, so I ran the commands:
sudo gem install rspec
sudo gem install rspec-rails
script/generate rspec
only to get an error message "Couldn't find 'rspec' generator". I've searched for an answer on this topic but I can't find a clear one anywhere.
I'm running Ubuntu 10.10, with ruby 1.8.7, rails 2.3.5 and rspec/rspec-rails 2.0.0
Any ideas how to get this generator to work?