2013-12-09 77 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,並安裝了最新的命令行工具,而且它工作正常。

謝謝!

相關問題