Skip to content

Instantly share code, notes, and snippets.

@tyx
Created August 25, 2010 13:37
Show Gist options
  • Save tyx/549521 to your computer and use it in GitHub Desktop.
Save tyx/549521 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
if [ -s "/Users/tim/.rvm/environments/ree-1.8.7-2010.02" ] ; then
\. "/Users/tim/.rvm/environments/ree-1.8.7-2010.02"
exec ruby "$@"
else
echo "ERROR: Missing RVM environment file: '/Users/tim/.rvm/environments/ree-1.8.7-2010.02'"
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment