【问题标题】:installing ruby 2.0.0 through RVM通过 RVM 安装 ruby​​ 2.0.0
【发布时间】:2013-07-11 11:28:41
【问题描述】:

我在 Macbook Air (v. 10.8.4) 上,正在尝试安装 ruby​​ 2.0.0。我做了rvm get stable 然后rvm install ruby-2.0.0。我收到此错误...

将 Ruby 从源安装到:/usr/local/rvm/rubies/ruby-2.0.0-p247,这可能需要一段时间,具体取决于您的 cpu...

ruby-2.0.0-p247 - #downloading ruby​​-2.0.0-p247,这可能需要一段时间,具体取决于您的连接...

ruby-2.0.0-p247 - #提取到 /usr/local/rvm/src/ruby-2.0.0-p247(已经提取)

ruby-2.0.0-p247 - #configuring - 使用 Zsh,无法显示进度,请耐心等待...

ruby-2.0.0-p247 - #compile - 使用Zsh,无法显示进度,请耐心等待...

运行“make -j4”时出错,

请阅读 /usr/local/rvm/log/ruby-2.0.0-p247/1373658495_make.log

运行 make 时出错。停止安装。

我尝试了Can't install Ruby 2.0.0-p0 with RVM. Error running 'make -j8',但仍然遇到同样的错误。如题,我试过了

我将日志文件复制并粘贴到谷歌文档中,因为它有 400 多行。链接在这里https://docs.google.com/document/d/1mwiL88KbWYfFge3XKQF2hOJjG_8PzYTdcRFxbZcpUeU/edit?usp=sharing

【问题讨论】:

  • 应该有/usr/local/rvm/log/ruby-2.0.0-p247/137*_configure.log 可以显示前20-30行吗
  • 你有哪个 OS X 版本?
  • 有多个文件符合该要求。我应该发布所有这些吗?版本是10.8.4。编辑:看起来他们都说同样的话。给你,docs.google.com/document/d/…

标签: ruby rvm


【解决方案1】:

尝试按给定顺序运行这些命令:---

brew update
brew tap homebrew/dupes
brew install apple-gcc42
rvm get stable
rvm install ruby-2.0.0

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-03-09
    • 2013-01-18
    • 2013-03-09
    • 1970-01-01
    • 1970-01-01
    • 2013-07-29
    • 1970-01-01
    • 2013-08-17
    相关资源
    最近更新 更多