Here is what I did:
The gemfile on the site seems to be a bit wrong, I use this:
source 'http://rubygems.org' gem "rails", "~> 3.1.0" gem 'sqlite3', '1.3.3' group :development do gem 'rspec-rails', '2.6.1' end group :test do gem 'rspec-rails', '2.6.1' gem 'webrat', '0.7.1' end
in your terminal type
$ bundle update $ bundle install
then try the command again
rails generate rspec:install
Good luck! :)
alemur
source share