When you want to use the capistrano recipe to deploy to a vagrant virtual box as described in ‘Deploying Rails’, and after you have corrected the rvm_path as described here, you get the following error message:
$rvm_path (/home/ubuntu/.rvm/) does not exist.
Make sure that after adding the rvm_path add also the following to the deploy.rb file, since rvm is installed system wide.
set :rvm_type, :system
Suggestion from here.