Skip to content

Instantly share code, notes, and snippets.

@mistersourcerer
Created October 6, 2012 04:39
Show Gist options
  • Save mistersourcerer/3843887 to your computer and use it in GitHub Desktop.
Save mistersourcerer/3843887 to your computer and use it in GitHub Desktop.
Ruby From Source (using rbenv just to choose the current version)
$ CC=gcc-4.2 CPP=cpp-4.2 ./configure --disable-install-doc --prefix=$(echo ~)/.rbenv/versions/1.9.3-p327 --with-opt-dir=$(brew --prefix readline):$(brew --prefix libyaml):$(brew --prefix openssl)
$ make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment