If you’re having problems with unicode characters in IRB from ruby compiled with rbenv, do this:
$ brew install readline $ export CPPFLAGS=-I/usr/local/Cellar/readline/6.2.4/include $ export LDFLAGS=-L/usr/local/Cellar/readline/6.2.4/lib/ $ rbenv install 1.9.3-p194