RVM Ruby安装失败,没有校验和

时间:2013-05-16 23:13:16

标签: ruby centos rvm centos6

我对这个问题感到很疯狂。我已经安装了rvm并重新安装了一百万次,但它只是无法正常工作。

我有一个全新安装的centOS 6.3,当我去安装rvm时,它完成了,但是在安装ruby时给了我一个奇怪的错误。这是跟踪:

[pushprod@ruby-prod webapps]$ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3     --ruby
    ######################################################################## 100.0%
Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                Dload  Upload   Total   Spent    Left  Speed
100 1062k  100 1062k    0     0   609k      0  0:00:01  0:00:01 --:--:-- 1533k

Installing RVM to /home/pushprod/.rvm/
    RVM PATH line found in /home/pushprod/.bashrc /home/pushprod/.zshrc.
    RVM sourcing line found in /home/pushprod/.bash_profile /home/pushprod/.zprofile.

# RVM:  Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.io/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Cheatsheet: http://cheat.errtheblog.com/s/rvm
# Screencast: http://screencasts.org/episodes/how-to-use-rvm

# In case of any issues run 'rvm requirements' or read 'rvm notes'

Installation of RVM in /home/pushprod/.rvm/ is almost complete:

  * To start using RVM you need to run `source /home/pushprod/.rvm/scripts/rvm`
    in all your open shell windows, in rare cases you need to reopen all shell windows.

# pushprod,
#
#   Thank you for using RVM!
#   I sincerely hope that RVM helps to make your life easier and
#   more enjoyable!!!
#
# ~Wayne



rvm 1.20.9 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]

Searching for binary rubies, this might take some time.
No binary rubies available for: centos/6.4/x86_64/ruby-2.0.0-p195.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for centos, might require sudo password.
There is no checksum for 'https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6' or 'RPM-GPG-KEY-EPEL-6', 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.

There is no checksum for 'https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm' or 'epel-release-6-8.noarch.rpm', 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.

error: /home/pushprod/.rvm/archives/RPM-GPG-KEY-EPEL-6: import read failed(2).
error: open of /home/pushprod/.rvm/archives/epel-release-6-8.noarch.rpm failed: No such file     or directory

关于问题可能是什么的任何想法?这是杀了我!

提前致谢

1 个答案:

答案 0 :(得分:7)

我遇到了同样的问题。尝试安装错误消息中引用的EPEL RPM;

error: open of /home/<username>/.rvm/archives/epel-release-6-8.noarch.rpm failed: No such file or directory

从以下URL下载(也在rvm输出中引用): https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

然后输入; rvm get stable

以上步骤似乎让rvm正常运行。