Mac Os 10.8 的rvm注意事项 Feb 21st, 2013 | Comments 因为xcode4.6把系统的gcc版本改成了llvm,如果没有设置好的话,在安装gem和rubu的时候会出错 下面是解决办法 1 2 3 4 brew update brew tap homebrew/dupes brew install apple-gcc42 rvm get stable edit ~/.zshrc 1 export CC=gcc-4.2 install ruby 1 rvm install ruby-1.9.3 --enable-shared --without-tk --without-tcl