We have a project running on edge rails that has rspec and rspec-rails
frozen in vendor/gems. To freeze the gems we added two lines of code to
config.gem ‘rspec-rails’, :lib => ‘spec/rails’, :version => ‘1.1.9’
config.gem ‘rspec’, :lib => ‘spec’, :version => ‘1.1.9’
and then ran:
The main goal is to freeze all common gems into the project so the
production server can simply run ‘rake gems:build’ and not worry about
installing anything. This method of deployment is causing me to receive
following error on my production machine whenever I run rake:
no such file to load – spec/rake/spectask
I can see that spectask.rb exists in
Running ‘script/generate rspec’ did not solve my problem.
View this message in context:
Sent from the rspec-users mailing list archive at Nabble.com.