3

我可以在运行 Mountain Lion 的 Mac 上安装任何 Ruby 版本

我已经确保 Brew Doctor 一切正常。

当我运行 ie rvm intall 1.9.3-head 时,我得到以下信息。

From git://github.com/ruby/ruby
 * branch            ruby_1_9_3 -> FETCH_HEAD
Already up-to-date.
Copying from repo to src path...
ruby-1.9.3-head - #autoreconf
ruby-1.9.3-head - #configuring 
ruby-1.9.3-head - #compiling 
Error running 'make', please read /Users/lee/.rvm/log/ruby-1.9.3-head/make.log
There has been an error while running make. Halting the installation.
lee$ mate /Users/lee/.rvm/log/ruby-1.9.3-head/make.log

这是 make.log http://pastie.org/private/wt48jlhlng9tgbdgqap8q

请任何人都可以建议。看起来MD5是问题??我不是命令行专家,所以任何帮助都会很棒。

提前致谢。

4

2 回答 2

6

检查这个答案https://stackoverflow.com/a/10540282/497756

要点是:

rvm pkg install openssl

进而:

rvm reinstall 1.9.3
于 2012-08-25T00:02:49.273 回答
2

尝试以下操作:

  • 更新 Xcode,获取适用于 Lion 的版本并再次运行该命令。

  • 使用安装:

    rvm 安装 1.9.3 --with-gcc=clang

  • 安装 GCC 4.2 并尝试:

    rvm 安装 1.9.3 --with-gcc=gcc-4.2

希望其中之一能奏效。

于 2012-08-24T23:16:42.590 回答