Skip to content

Instantly share code, notes, and snippets.

@mdub
Created January 18, 2010 11:47
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 mdub/279955 to your computer and use it in GitHub Desktop.
Save mdub/279955 to your computer and use it in GitHub Desktop.
rvm-default-ruby
#!/bin/sh
# For easy rvm/TextMate integration, point your "TM_RUBY" Shell Variable at this script
# e.g. TM_RUBY=/Users/whaevuh/bin/rvm-default-ruby
source $HOME/.rvm/config/default
exec ruby "$@"
@stevenchanin
Copy link

also, remember to make rvm-default-ruby executable with chmod u+x rvm-default-ruby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment