I'm running ruby 1.8.7 and rails 3.0.3. And I can't get rspec installed.
My Gemfile contains the following:
group :test, :development do
gem "rspec-rails", "~> 2.4"
end
But I there is no rspec:install generator after bundle install. I've tried the various answers around the net, setting rspec-rails to the 2.0.0.beta.22, 2.3.1, 2.3.0 and so on, but nothing seems to work.
Does anyone have any ideas on how to get the rspec:install generator?
Thanks
Lars
Ensure you have RSpec installed within your development environment. Have a look here for the correct way to get RSpec installed and running.
还要检查rspec-rails github页面上的Rails 3。
更新捆绑软件,gem更新应该可以得到它。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.