Install Ruby with Mountain Lion, Xcode 4.5, and RVM?
问题 rvm install 1.9.3 --with-gcc=clang (as suggested by Can't install Ruby under Lion with RVM – GCC issues) doesn't work because neither Mac OS X 10.8.2 (Mountain Lion) nor Xcode 4.5 comes with clang . Is it possible to compile Ruby with llvm ? According to Matthias Schmidt's "How to install Ruby 1.9.3 on Mac OS X with LLVM and rbenv", Ruby is now fully compatible with LLVM. But, I still get: error: C compiler cannot create executables UPDATE: Actually, I found clang here /Applications/Xcode.app