Ruby 2.0.0停留在编译上

时间:2013-12-09 07:19:20

标签: ruby-on-rails ruby macos

我想知道是否有人有同样的问题。我试着在我的mac上安装ruby 2.0.0-p353。但目前它已经停留在编译很长一段时间而且从未完成。

这是控制台:

rvm install ruby-2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p353.
Continuing with compilation. Please read 'rvm help mount' to get more information on   binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/gopher/.rvm/rubies/ruby-2.0.0-p353, this may take a   while depending on your cpu(s)...
ruby-2.0.0-p353 - #downloading ruby-2.0.0-p353, this may take a while depending on your connection...
ruby-2.0.0-p353 - #extracting ruby-2.0.0-p353 to /Users/gopher/.rvm/src/ruby-2.0.0-p353
ruby-2.0.0-p353 - #extracted to /Users/gopher/.rvm/src/ruby-2.0.0-p353
ruby-2.0.0-p353 - #configuring.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-2.0.0-p353 - #post-configuration
ruby-2.0.0-p353 - #compiling...............

它已经运行了大约一个小时。 请注意,这是我的系统配置:     Mac OS Mountain Lion 10.8.5     RVM v1.24.7     命令行工具v5.0.1

有什么想法吗?

非常感谢

1 个答案:

答案 0 :(得分:0)

好的,我找到了原因。

这是因为安装了较旧的xcode。所以,我刚刚删除了xcode,并安装了最新的命令行工具,但它确实有效。

谢谢!