When I run
rvm install 1.9.3 --with-gcc=clang
on Mac OSX Lion, ruby does not compile, and I get the following error in (.rvm/log/ruby-1.9.3
If you don't have rvm already installed, rvm requirements won't work. Install gcc 4.2 with homebrew and restart the rvm installation. Worked for me.
brew update brew tap homebrew/dupes brew install apple-gcc42