Skip to content

Instantly share code, notes, and snippets.

@jalada
Created June 7, 2011 09:57
Show Gist options
  • Save jalada/1011976 to your computer and use it in GitHub Desktop.
Save jalada/1011976 to your computer and use it in GitHub Desktop.

This is (sorta) what Capistrano runs:

~$ rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'ree' -c 'cd /path/to/project/current; echo $BUNDLE_GEMFILE'
/usr/local/rvm/config/Gemfile

This is what happens if I do it myself:

~$ cd /path/to/project/current
/path/to/project/current$ echo $BUNDLE_GEMFILE
/path/to/project/current/Gemfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment