Created
January 28, 2011 19:43
-
-
Save oren/800817 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /usr/local/rvm/bin/bootup_god | |
#!/usr/bin/env bash | |
if [[ -s "/usr/local/rvm/environments/ruby-1.9.2-p136@global" ]] ; then | |
echo '1' | |
source "/usr/local/rvm/environments/ruby-1.9.2-p136@global" | |
echo '2' | |
exec god "$@" | |
else | |
echo "ERROR: Missing RVM environment file: '/usr/local/rvm/environments/ruby-1.9.2-p136@global'" >&2 | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment