Skip to content

Instantly share code, notes, and snippets.

@iconara
Created September 30, 2010 13:21
Show Gist options
  • Save iconara/604562 to your computer and use it in GitHub Desktop.
Save iconara/604562 to your computer and use it in GitHub Desktop.
~% cat .rvm/bin/wukong_\ 15:21 reventon
#!/usr/bin/env bash
if [[ -s "/Users/theo/.rvm/environments/ruby-1.8.7-p302@wukong" ]] ; then
\. "/Users/theo/.rvm/environments/ruby-1.8.7-p302@wukong"
exec "$@"
else
echo "ERROR: Missing RVM environment file: '/Users/theo/.rvm/environments/ruby-1.8.7-p302@wukong'" >&2
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment