2013-10-30 43 views
1

我將OS_X更新爲10.9,並且遇到了ruby socket I/O庫(無法連接到端口)的問題。 這是很奇怪的問題,導致所有的配置參數設置正確。 所以我認爲它可能是OS_X 10.9(或更新的Xcode)兼容性問題。更新到OS X 10.9(小牛)後重新安裝Ruby和寶石

我爲剛剛更新的Xcode安裝了命令行工具。 (如果沒有它,安裝ruby是不可能的)。

我已成功重新安裝紅寶石1.9.3。但是當我嘗試重新安裝我的寶石環境時,我看到一個錯誤:

 

ruby-1.9.3-p448 - #installing......................................................................................................... 
Retrieving rubygems-2.0.13 
There is no checksum for 'http://production.cf.rubygems.org/rubygems/rubygems-2.0.13.tgz' or 'rubygems-2.0.13.tgz', it's not possible to validate it. 
This could be because your RVM install's list of versions is out of date. You may want to 
update your list of rubies by running 'rvm get stable' and try again. 
If that does not resolve the issue and you wish to continue with unverified download 
add '--verify-downloads 1' after the command. 

There has been an error while trying to fetch rubygems. 
Halting the installation. 
 

在這種情況下我需要做什麼? 什麼意思是我的寶石的'驗證'? 爲什麼我的寶石超出了日期?

請幫我理解它。

回答

1

我運行在我的終端'rvm get stable'以獲得穩定的rvm。成功完成,很酷。 並嘗試重新安裝紅寶石1.9.3不出錯第二次

在這裏,我有一個警告:

Warning: found user selected compiler '/usr/local/opt/apple-gcc42/bin/gcc-4.2', this will suppress RVM auto detection mechanisms.

現在,它爲我安裝最新的rubygems-2.1.10(不2.0.13)。

新的錯誤^ _ ^:

 
Error running '__rvm_with ruby-1.9.3-p448 /Users/bmalets/.rvm/scripts/gemsets pristine', 
please read /Users/bmalets/.rvm/log/1383094697_ruby-1.9.3-p448/gemset.pristine-ruby-1.9.3-p448.log 

我瀏覽OT我的Rails3中/ ruby​​1.9.3項目並運行它。起初看,它工作正常。

所以,它看起來像成功更新))))))

PS我相信更新OS_X的新版本將不會那麼可怕,如日曆更新到iOS 7的新界面和Notes應用程序中像狗屎一樣。我現在對蘋果非常失望:'(。