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

I would like to ask you about a packer ... if I run the "package list" command, so I get a list of gems and there is * rake (0.9.2), but if I transfer my application to the server, I get a message about error Could not find rake-0.9.2 in any of the sources (Bundler :: GemNotFound) - but this gem is in the kit ... what could be wrong?

+5
source share
5 answers

You have to pack gems using the app.

http://gembundler.com/bundle_package.html

+4

rm -rf Gemfile.lock bundle install

+1

+1 tamaresalama...

Rails ?

, gem "Gemfile".. "bundle install"

RVM, gemset , . 'rvm gemset create yourname'

, gemset, , 'rvm gemset use yourname --default', " ", , gemset,

, .

0
source

Showing the following error for me when starting the command package, "* Could not find rails_best_practices-1.13.7 in any of the sources *"

Just uninstall Gemfile.lock and work for me.

0
source

For me, adding:

source 'https://rubygems.org'

my gemfile solved the problem. For some reason, I deleted it earlier.

-1
source

All Articles