The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`. という出力で終了する。ネット上の情報を見るとosx-gcc-installerをインストールする例と、LLVMではないgccが入ってるXCode 4.1にダウングレードする方法と、4.2以降を使って–with-gcc=clangをつけてインストールする方法があった。今回は–with-gcc=clangをつけてRubyをbuildした。詳細は後述。 以下、詳細。 環境 Mac OS X Version 10.7.3 Lion XCode 4.3.1 gcc version 4.2.1 (Based on Apple Inc. bui