I\'m having a lot of trouble getting Ruby 1.8.7 installed on my clean install of Mountain Lion. I\'ve looked around on Stack Overflow and don\'t see anything that specifical
Latest Xcode provides only clang - not GNU gcc, you need to install gcc-4.2 to be able to compile Ruby 1.8.7 properly, following command will show available options:
rvm requirements
currently only ruby 1.9.3-p125 and later has limited support for clang, but this is limited support, and still errors can be found.