I\'m getting an error after compiling Ruby 1.8.7 using RVM on Lion 10.7.1 with Xcode 4.2 GM (new MacBook).
It compiles fine but when I try to install any gem I get t
Since I had to parse through several of these answers to get things working with XCode 4.2, I thought I'd put it all together:
export CC=gcc-4.2
to your ~/.bash_profile or equivalent (don't forget to reload it)rvm implode" then re-install rvm
http://beginrescueend.com/At this point I was able to rvm install ruby-1.8.7 (and ruby-1.9.2), and actually get my gems to install.