-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
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"
lloydwatkin, sime, flyflytn and tsolar
Metadata
Metadata
Assignees
Labels
No labels