安装Ruby 1.9.3-p392的问题

时间:2013-06-23 08:20:33

标签: install rvm ruby-1.9.3

我正在尝试使用RVM设置Ruby 1.9.3-p392。我收到以下错误: -

Searching for binary rubies, this might take some time.
ruby-1.9.3-p392 - #configure
ruby-1.9.3-p392 - #download
There is no checksum for 'https://rvm.io/binaries/ubuntu/12.04/i386/ruby-1.9.3-p392.tar.bz2?rvm=1.18.3' or 'bin-ruby-1.9.3-p392.tar.bz2', it's not possible to validate it.
If you wish to continue with unverified download add '--verify-downloads 1' after the command.

Downloading https://rvm.io/binaries/ubuntu/12.04/i386/ruby-1.9.3-p392.tar.bz2 failed.
Mounting remote ruby failed, trying to compile.
Installing Ruby from source to: /home/krishna/.rvm/rubies/ruby-1.9.3-p392, this may take a while depending on your cpu(s)...
ruby-1.9.3-p392 - #downloading ruby-1.9.3-p392, this may take a while depending on your connection...
There is no checksum for 'http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.bz2' or 'ruby-1.9.3-p392.tar.bz2', it's not possible to validate it.
If you wish to continue with unverified download add '--verify-downloads 1' after the command.

There has been an error fetching the ruby interpreter. Halting the installation.

查看上述错误消息,我认为进行未经验证的下载是不安全的。谁能告诉我如何使用RVM以正确的方式安装它?

谢谢。

1 个答案:

答案 0 :(得分:0)

您使用的是旧版本的RVM 1.18.3,当前版本为1.21.2,只需更新RVM即可获取所有新红宝石和二进制文件的更新校验和:

rvm get stable

OR:

rvm get head