Skip to content

Instantly share code, notes, and snippets.

@agis
Last active August 29, 2015 14:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agis/269b10821e5c57f3a18a to your computer and use it in GitHub Desktop.
Save agis/269b10821e5c57f3a18a to your computer and use it in GitHub Desktop.
Installing ruby 1.9.3-p385 w/ falcon patch using ruby-install on Mavericks

Rubies older than 1.9.3-p429 will not compile with Clang and require GCC >= 4.2, install GCC 4.2:

$ brew update && brew tap homebrew/versions
$ brew install apple-gcc42

Install autoconf and automake:

$ brew install autoconf automake

Install ruby w/ falcon patch (with backport-gc):

$ ruby-install -p https://github.com/funny-falcon/ruby/compare/p385...p385_falcon_gc.diff ruby 1.9.3-p385 -- CC=gcc-4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment