Rails app deployment with rvm

Hi all…

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..

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct