安装rvm时遇到问题

时间:2012-09-29 20:40:16

标签: ruby-on-rails ruby rvm

所以我正在尝试安装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

3 个答案:

答案 0 :(得分:3)

请按照https://stackoverflow.com/a/8032980/429758

中的答案解释rvm install 1.9.2 --with-gcc=clang

答案 1 :(得分: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要求

并安装您需要的wthat。对于Ruby,或JRuby ......

答案 2 :(得分:0)

安装此套件(Mountain Lion)适合我的账单。 https://github.com/kennethreitz/osx-gcc-installer

相关问题