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

标签 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

关于问题可能是什么的任何想法?这简直要了我的命!

提前致谢

最佳答案

我遇到了同样的问题。尝试安装错误消息中引用的 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 对我来说正常运行。

关于ruby - RVM Ruby 安装失败,没有校验和,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16598995/

相关文章:

networking - ping google.com 或 8.8.8.8 失败

linux - linux命令行查看进程的命令行和环境变量的方法

ruby - 安装 RVM 时出现问题

ruby - 如何在 Ruby 中实现 goto 和 label 方法?

javascript - 在 Devise [Ruby on Rails 4] 中使用 At.JS @Mentions

php - 无法关闭 PHP 安全模式?

ruby - 使用 RVM 安装 Ruby 2.1.3 时出错

ruby-on-rails - 您推荐哪个 RVM 和 Ruby 版本?

ruby - 快速排序实现 : stack level too deep (SystemStackError)

Ruby 二次公式错误