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
When performing a deployment via capistrano using the rvm-capistrano gem, all commands are wrapped up in
rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'default' -c 'stuff to do'
One issue that I've encountered is that any gems that require native extensions and make a call out to 'make' fail to build. This is because the PATH that gets set by the rvm-shell command comes out to be:
When performing a deployment via capistrano using the rvm-capistrano gem, all commands are wrapped up in
One issue that I've encountered is that any gems that require native extensions and make a call out to 'make' fail to build. This is because the PATH that gets set by the rvm-shell command comes out to be:
which is missing the /opt/local/gnu/bin directory, which comes through in interactive bash sessions. The monkey patch was simply to add
PATH=$PATH:/opt/local/gnu/bin
to /etc/rvmrc but I'm not sure if that is the best way to handle this.
I'll also add that capistrano is executing the deployment under the same user account that I'm logged in as interactively.
The text was updated successfully, but these errors were encountered: