Skip to content

Instantly share code, notes, and snippets.

@ivar
Forked from mrrooijen/install.sh
Created June 17, 2011 16:39
Show Gist options
  • Save ivar/1031770 to your computer and use it in GitHub Desktop.
Save ivar/1031770 to your computer and use it in GitHub Desktop.
Ruby 1.9.2 c.load patch with RVM
#!/bin/sh
#install me via:
#curl https://raw.github.com/gist/1031770/8d8400cbca40faa18bccc29d2f4d4b66371f5d7f/install.sh | sh
curl https://raw.github.com/gist/1008945/7532898172cd9f03b4c0d0db145bc2440dcbb2f6/load.patch > /tmp/load.patch
rvm get head # always good to make sure you're up to date with RVM
rvm reload
rvm cleanup all
rvm install ruby-1.9.2-p180 --patch /tmp/load.patch -n patched
rvm use ruby-1.9.2-p180-patched
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment