I encountered this error when I do the deployment.
I could see the rake-0.9.2.2 in the output of the bundle:install step and also if I run the command on the server manually it's working correctly.
It seems that capistrano is not using the rvm string in the deploy.rb.
I put all the information to https://gist.github.com/3005237. Please help.
Thanks a lot.