简体   繁体   English

安装rvm时遇到问题

[英]trouble installing rvm

So I am trying to install RVM, but I think there is a conflict with Xcode on my mac computer. 所以我正在尝试安装RVM,但我认为我的mac计算机上存在与Xcode的冲突。 I used to run rvm install ruby-1.9.2-p320 and this was my error The provided compiler 我以前运行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`.

I then read a solution to write rvm get head and its successful, but when I run rvm install ruby-1.9.2-p320 again, I get this error. 然后我读了一个写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

尝试rvm install 1.9.2 --with-gcc=clang如答案中所述https://stackoverflow.com/a/8032980/429758

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

see: 看到:

, please read `rvm requirements`.

use: $ rvm requirements 使用:$ rvm要求

and install wthat you need. 并安装你需要的wthat。 For Ruby, or JRuby .... 对于Ruby或JRuby ....

installing this package (Mountain Lion) fit the bill for me. 安装这个包(Mountain Lion)适合我。 https://github.com/kennethreitz/osx-gcc-installer https://github.com/kennethreitz/osx-gcc-installer

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM