Mountain Lion的RVM问题

我可以在运行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是个问题? 我不是命令行的专家,所以任何帮助都会很棒。

提前致谢。

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

重点是:

 rvm pkg install openssl 

然后:

 rvm reinstall 1.9.3 

请尝试以下方法:

  • 更新Xcode,获取可与Lion配合使用的版本并再次运行该命令。

  • 安装使用:

rvm install 1.9.3 –with-gcc = clang

  • 安装GCC 4.2并尝试:

    rvm install 1.9.3 –with-gcc = gcc-4.2

  • 希望其中一个能够奏效。