Last Updated: February 25, 2016
·
1.03K
· javiercr

Installing Ruby Enterprise Edition on OS X 10.9 Mavericks with RVM

When trying to install ree-1.8.7 on Mavericks I got this error:

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

After some googling I could install it with:

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

Hope it saves some time to other people :)