gouf
8/13/2013 - 10:31 PM

From https://github.com/guard/guard/wiki/Add-Readline-support-to-Ruby-on-Mac-OS-X

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