我之前安装了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
。
答案 0 :(得分:0)
试试这个。
安装RVM
\curl -L https://get.rvm.io | bash -s stable --ruby
然后
rvm install 1.9.3 --with-gcc=clang
答案 1 :(得分:0)
尝试以下命令:
rvm install 1.9.3 --verify-downloads 1