Instalando Ruby Enterprise Edition no OS X 10.9 Mavericks com RVM

Ao tentar instalar o ree-1.8.7 no Mavericks, recebi este erro:

Error running 'env CFLAGS=-I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include LDFLAGS=-L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl098/lib ./installer -a /Users/javi/.rvm/rubies/ree-1.8.7-2011.03 --no-tcmalloc --dont-install-useful-gems -c --disable-install-doc -c --without-tcl -c --without-tk -c --enable-shared',
please read
/Users/javi/.rvm/log/ree-1.8.7-2011.03/1384162633_install.log

Depois de pesquisar no Google, eu poderia instalá-lo com:

export CPPFLAGS=-I/opt/X11/include
CC
=/usr/local/bin/gc rvm reinstall ree-1.8.7-2011.03

Espero que economize algum tempo para outras pessoas 🙂