1

所以我正在尝试安装 RVM,但我认为我的 mac 计算机上的 Xcode 存在冲突。我曾经运行rvm install ruby-1.9.2-p320 ,这是我的错误提供的编译器

'/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`.

然后我阅读了一个写的解决方案rvm get head并且它成功了,但是当我再次运行 rvm install ruby​​-1.9.2-p320 时,我得到了这个错误。

No binary rubies available for: ///ruby-1.9.2-p320.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`.
'rvm_codesign_identity' is not set, please set it in ~/.rvmrc
4

3 回答 3

3

rvm install 1.9.2 --with-gcc=clang按照此处答案中的说明尝试https://stackoverflow.com/a/8032980/429758

于 2012-09-29T21:31:03.100 回答
1
'/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`.

看:

, please read `rvm requirements`.

使用:$ rvm 要求

并安装你需要的东西。对于 Ruby 或 JRuby ....

于 2012-09-29T21:37:07.017 回答
0

安装这个包(Mountain Lion)适合我。 https://github.com/kennethreitz/osx-gcc-installer

于 2012-10-17T16:11:43.110 回答