Skip to content

Instantly share code, notes, and snippets.

@gouf
Created August 13, 2013 22:31
Show Gist options
  • Save gouf/6226350 to your computer and use it in GitHub Desktop.
Save gouf/6226350 to your computer and use it in GitHub Desktop.

Using rbenv, ruby_build and Homebrew As a rbenv user, you can install readline and ruby_build with Homebrew:

$ brew install readline ruby-build

now set the configure options when compile Ruby:

$ RUBY_CONFIGURE_OPTS=--with-readline-dir=`brew --prefix readline` rbenv install 1.9.3-p286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment