Skip to content

Instantly share code, notes, and snippets.

@rickenharp
Created May 6, 2011 12:16
Show Gist options
  • Save rickenharp/958847 to your computer and use it in GitHub Desktop.
Save rickenharp/958847 to your computer and use it in GitHub Desktop.
better textmate_ruby wrapper for rvm
#!/usr/bin/env sh
source ~/.rvm/scripts/rvm
LOGFILE=/dev/null
exec 6>&1
exec > $LOGFILE
cd .
exec 1>&6 6>&-
exec ruby "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment