2013-12-09 41 views
1

我不知道是否有同样的问题。我试图在我的Mac上安装ruby 2.0.0-p353。但目前它坚持编译很长一段时间,从未完成。Ruby 2.0.0在编译时停滞不前

这里是控制台:

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山狮10.8.5 RVM v1.24.7 命令行工具V5.0.1

任何想法?

很多谢谢

+2

“很长时间”有多久? :-)我注意到Ruby 2.0.0需要一段时间才能编译。 – mhutter

+0

另外,你有没有(只是为了好的措施)更新你的rvm安装? 'rvm get stable' – mhutter

+0

只要活动监视器显示某些工作正在从编译器完成,那不是问题。 – marzapower

回答

0

好吧,我找到了原因。

这是因为旧版xcode已安装。所以,我刚刚删除了xcode,并安装了最新的命令行工具,而且它工作正常。

谢谢!

相关问题