Skip to content

Instantly share code, notes, and snippets.

@teeparham
Created October 4, 2011 16:27
Show Gist options
  • Save teeparham/1262097 to your computer and use it in GitHub Desktop.
Save teeparham/1262097 to your computer and use it in GitHub Desktop.
install ruby MRI 1.9.2 with GC and require patches
# if re-install:
# rm -rf ~/.rvm/gems/ruby-1.9.2-p290
curl https://raw.github.com/gist/999435/fc2718ac3f488ab2341b65dc2ae5c123f8859bff/fast-require-ruby-19.2-p180 > /tmp/ruby192-require.patch
curl https://raw.github.com/gist/856296/patch-1.9.2-gc.patch > /tmp/ruby192-gc.patch
rvm get head && rvm reload
rvm uninstall 1.9.2
rvm install 1.9.2 --patch /tmp/ruby192-require.patch --patch /tmp/ruby192-gc.patch
rvm 1.9.2 --default
# update ~/.rvm/hooks/after_use
# see http://metaskills.net/2011/03/09/gc-tune-ruby-1.9.2-with-rvm/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment