$bundle exec rspec spec/
Could not find rake-0.9.2.2 in any of the sources
Run `bundle install` to install missing gems.
I’m totally new to Rails and trying to read the tutorial: http://ruby.railstutorial.org/chapters/static-pages#sec:TDD
However, when I try to run rspect, I get that error.
Any ideas on what I’m doing wrong?
EDIT My Gemfile
source 'http://rubygems.org'
gem 'rails', '3.1.3'
gem 'sqlite3', '1.3.5'
gem 'rake', '0.9.2.2'
group :development do
gem 'rspec-rails', '2.8.1'
end
group :test do
gem 'rspec-rails', '2.8.1'
gem 'webrat', '0.7.3'
end
gem 'jquery-rails'
You might want to add
to your gemfile (under gem ‘rails’ or what so ever..).
Run
bundle installafterwardsThen run
bundle exec rspec specat last.Will this work for you? If not, any error messages?
If there are error messages please type
rake -Vandbundle exec rake -Vin your console and share us the versions!