I just created a new empty Rails app, it\'s almost empty. I created it just to try to pinpoint the problem, but I\'m getting the following error.
I\'m using Rails 3.
I had the same problem 'Could not find rake-0.9.2.2 in any of the sources' and found that my PATH did not include /usr/local/bin. After updating the PATH, it worked.
Had this problem as well, fixed by following the instructions here: http://blog.ninjahideout.com/posts/the-path-to-better-rvm-and-passenger-integration
I fixed the same error doing packing the gems into vendor/bundle like this:
From inside your app directory:
$ bundle install --path vendor/bundle
Give a shot and tell me if that works to you.
I think the best answer/solution here is to add the following to your deploy.rb
file (assuming Capistrano):
bundle install --deployment
You can also read the full article and on other deployment engines.