【问题标题】:trouble installing rvm安装rvm的麻烦
【发布时间】:2012-09-29 20:40:16
【问题描述】:

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

【问题讨论】:

标签: ruby-on-rails ruby rvm


【解决方案1】:

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

【讨论】:

  • 我运行了 rvm install 1.9.2 --with-gcc=clang,它告诉我重新安装 rvm reinstall 1.9.3,因为我已经安装了 ruby​​-1.9.3-p194。我运行它在重新安装时收到一个错误,上面写着Error running '' under , please read /Users/connorphillips/.rvm/log/ruby-1.9.3-p194/gemset.pristine.log
  • 我尝试运行 1.9.2 的原因是因为我觉得他们可能是 1.9.3 的错误。我从运行 rake 得到一个 mysql2 file not found 错误,我认为运行 rvm 1.9.2 可能会解决这个问题
  • 要求您重新安装 1.9.3 的消息可能是一个不相关的问题,因为在 rvm 下安装 ruby​​ 版本是相互独立的。 gemset.pristine.log 中有什么东西吗?至于mysql的错误,请检查这个:stackoverflow.com/questions/4546698/… & stackoverflow.com/questions/8437455/rake-dbmigrate-mysql 这可能是你面临的同样的问题。
【解决方案2】:
'/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 ....

【讨论】:

    【解决方案3】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多