簡體   English   中英

將Ruby 1.9.2升級到1.9.3錯誤

[英]Upgrading Ruby 1.9.2 to 1.9.3 Error

我以前安裝了ruby 1.9.2 ,現在我想將其升級到1.9.3版,以便可以安裝Rails,但是仍然出現此錯誤:

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版。

嘗試這個。

安裝RVM

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

然后

rvm install 1.9.3 --with-gcc=clang

嘗試以下命令:

rvm install 1.9.3 --verify-downloads 1

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM