Skip to content

Instantly share code, notes, and snippets.

@oren
Created January 28, 2011 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oren/800817 to your computer and use it in GitHub Desktop.
Save oren/800817 to your computer and use it in GitHub Desktop.
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