Rails app deployment with rvm
I am deploying a rails application in linode. I have installed the required software's but when I try to run deploy command at the end of deployment I am getting this exception.
** [deploy:updatecode] exception while rolling back: Capistrano::CommandError, failed: "rvmpath=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '/usr/local/rvm/gems/ruby-1.9.2-p320'
the rvm is installed in /usr/local/ directory and $path variable is also correct with this path, And in Capistrano config file also explicitly defined the rvm_path with /usr/local/rvm/…..
But still getting the exception as specified.
Please help me to resolve this exception..