2014-02-11 60 views
0

我有紅寶石1.9.2以前安裝的,現在我想將其升級到1.9.3版本,這樣我可以安裝Rails,但我不斷收到此錯誤:升級紅寶石1.9.2至1.9.3錯誤

ruby-1.9.3-p484 - #downloading rubygems-2.2.2 

There is no checksum for 'http://production.cf.rubygems.org/rubygems/rubygems-2.2.2.tgz'  
for 'rubygems-2.2.2.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. 

我已經嘗試:

  • rvm get stable
  • rvm get head
  • gem update --system

但我仍然得到相同的錯誤。我正在使用JewelryBox安裝版本1.9.3

回答

0

試試這個。

安裝RVM

\curl -L https://get.rvm.io | bash -s stable --ruby 

然後

rvm install 1.9.3 --with-gcc=clang 
+0

我結束了卸載並重新安裝了一切。儘管感謝您的輸入! – user3295294

0

試試下面的命令:

rvm install 1.9.3 --verify-downloads 1