How to Install Ruby 1.8.7 via RVM on OS X Lion

Not sure if I’m the only one experiencing this but installing Ruby 1.8.7 using these commands don’t work:

rvm install 1.8.7
# alternatively, this may work: 

CC=/usr/bin/gcc-4.2 rvm install 1.8.7

This worked for me:

rvm  install 1.8.7 --without-tcl --without-tk

If you need to reinstall it:

rvm reinstall 1.8.7 --without-tcl --without-tk