irb with readline on mac using rvm

On the Mac, irb doesn’t come with readline baked in. But you can fix that with

$ rvm install 1.8.7 -C \
   --enable-shared,--with-readline-dir=/opt/local

Kudus: Plataformatec, who uses Homebrew and thus /usr/local rather than /opt/local.

This entry was posted in Technology and tagged , , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.