Skip to content

Instantly share code, notes, and snippets.

@ryanza
Created July 6, 2011 08:50
Show Gist options
  • Save ryanza/1066857 to your computer and use it in GitHub Desktop.
Save ryanza/1066857 to your computer and use it in GitHub Desktop.
Use 1.9.2 faster require patch (if installed) or default to normal 1.9.2
if rvm list strings | grep -q "ruby-1.9.2-p180-patched" ; then
rvm use ruby-1.9.2-p180-patched
else
rvm use ruby-1.9.2-p180
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment