Skip to content

Instantly share code, notes, and snippets.

@GolgothaX
Created January 16, 2013 19:28
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 GolgothaX/4550031 to your computer and use it in GitHub Desktop.
Save GolgothaX/4550031 to your computer and use it in GitHub Desktop.
/Users/admin/.rvm/wrappers/ruby-1.8.7-p357@global/ruby
#!/usr/bin/env bash
if [[ -s "/Users/admin/.rvm/environments/ruby-1.8.7-p357@global" ]]
then
source "/Users/admin/.rvm/environments/ruby-1.8.7-p357@global"
exec ruby "$@"
else
echo "ERROR: Missing RVM environment file: '/Users/admin/.rvm/environments/ruby-1.8.7-p357@global'" >&2
exit 1
fi
/Users/admin/.rvm/wrappers/ruby-1.8.7-p357@global/ruby (END)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment