Skip to content

Instantly share code, notes, and snippets.

@planet-argonbot
Created May 9, 2012 16:36
Show Gist options
  • Save planet-argonbot/2646382 to your computer and use it in GitHub Desktop.
Save planet-argonbot/2646382 to your computer and use it in GitHub Desktop.
Compiling Ruby 1.9.2 with iconv and readline support

Using RVM

rvm pkg install iconv rvm pkg install readline

rvm install 1.9.2 --enable-shared --with-readline-dir=/usr/local/Cellar/readline/6.2.1 --with-iconv-dir=$rvm_path/usr

Using rbenv

CONFIGURE_OPTS="--enable-shared --with-readline-dir=/usr/local/Cellar/readline/6.2.1/ --with-iconv-dir=/usr/local/Cellar/libiconv/1.14" rbenv install 1.9.2-p290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment