Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3 - Could not find rake-0.9.2 in any of the sources (Bundler::GemNotFound)

I would like to ask you about bundler… if I run command "bundle list", so I will get list of gems and is there "* rake (0.9.2)", but if I move my app to server, I am getting error Could not find rake-0.9.2 in any of the sources (Bundler::GemNotFound) — but this gem is in bundler… what could be wrong?

like image 938
user1946705 Avatar asked Jun 28 '11 19:06

user1946705


2 Answers

You should package the gems with the application.

http://gembundler.com/bundle_package.html

like image 125
tamersalama Avatar answered Nov 03 '22 23:11

tamersalama


rm -rf Gemfile.lock then re-run bundle install

like image 41
bcackerman Avatar answered Nov 04 '22 00:11

bcackerman