繁体   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