You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not totally sure if this bug is related with this gem, but when rbenv_path is not set, the default is defined here (capistrano rbenv config):
But for some reason $HOME/.rbenv is escaped to \$HOME/.rbenv and therefore bash fails.
Caused by:
SSHKit::Runner::ExecuteError: Exception while executing as ccastillo@xxx: if test ! -d \$HOME/.rbenv/plugins/ruby-build; then echo "Directory does not exist '\$HOME/.rbenv/plugins/ruby-build'" 1>&2; false; fi exit status: 1
if test ! -d \$HOME/.rbenv/plugins/ruby-build; then echo "Directory does not exist '\$HOME/.rbenv/plugins/ruby-build'" 1>&2; false; fi stdout: Nothing written
if test ! -d \$HOME/.rbenv/plugins/ruby-build; then echo "Directory does not exist '\$HOME/.rbenv/plugins/ruby-build'" 1>&2; false; fi stderr: Directory does not exist '$HOME/.rbenv/plugins/ruby-build'
The workarround solutions is don't forget to set :rbenv_path, "~/.rbenv"
The text was updated successfully, but these errors were encountered:
I am not totally sure if this bug is related with this gem, but when rbenv_path is not set, the default is defined here (capistrano rbenv config):
But for some reason
$HOME/.rbenv
is escaped to\$HOME/.rbenv
and therefore bash fails.The workarround solutions is don't forget to
set :rbenv_path, "~/.rbenv"
The text was updated successfully, but these errors were encountered: