I get this log:
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as
[email protected]: rvm exit status: 127
rvm stdout: bash: /home/ubuntu/.rvm/bin/rvm: No such file or directory
rvm stderr: Nothing written
Caused by:
SSHKit::Command::Failed: rvm exit status: 127
rvm stdout: bash: /home/ubuntu/.rvm/bin/rvm: No such file or directory
rvm stderr: Nothing written
Tasks: TOP => rvm:check
(See full trace by running task with --trace)
After performing cap production deploy. The point is, that RVM is installed there, in the exact path it is looking for.
Please advice.
Probably you need to add rvm to PATH variable. Otherwise capistrano can not find it neither you can run it from CLI.
Add this lines in your home directory's .bashrc file. Make sure to restart the session or
source .bashrc.