【问题标题】:How to install RVM on Xubuntu 14.04如何在 Xubuntu 14.04 上安装 RVM
【发布时间】:2015-05-29 18:34:51
【问题描述】:

我尝试使用this 教程安装 RVM。但是我在这一步遇到错误$ \curl -L https://get.rvm.io | bash -s stable --ruby。我收到这条消息:

oleg@olegx301a:~$ \curl -L https://get.rvm.io | bash -s stable --ruby
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0    330      0 --:--:-- --:--:-- --:--:--   331
100 22721  100 22721    0     0  30495      0 --:--:-- --:--:-- --:--:-- 30495
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
gpg: Signature made вт, 31-бер-2015 00:52:13 +0300 EEST using RSA key ID BF04FF17
gpg: Can't check signature: public key not found
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).

GPG signature verification failed for '/home/oleg/.rvm/archives/rvm-1.26.11.tgz' - 'https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc'!
try downloading the signatures:

    gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

or if it fails:

    command curl -sSL https://rvm.io/mpapis.asc | gpg --import -

the key can be compared with:

    https://rvm.io/mpapis.asc
    https://keybase.io/mpapis

也许问题是由于我的本地化 - 它是乌克兰。终端输出中有一行 gpg: Signature made вт, 31-бер-2015 00:52:13 +0300 EEST using RSA key ID BF04FF17вт, 31-бер-2015 表示 3 月 31 日星期二。

【问题讨论】:

  • 您应该尝试按照推荐的方式下载签名。看看它是如何响应的
  • 他们竭尽全力为您提供运行命令。你试过吗?这只是一条消息,表示在您加载 GPG 密钥之前它不会安装任何东西。
  • @OscillatingMonkey 和 @tadman 谢谢。我只是不知道它到底要我安装什么。我应该删除这个主题吗?
  • 别说了,我相信人们总会遇到这样的小问题

标签: ruby-on-rails ruby bash localization rvm


【解决方案1】:

这是我使用 RVM 工具包安装 Ruby 的命令:

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 && \
curl -sSL https://get.rvm.io | bash -s stable --ruby=1.9.3

您可以将 Ruby 版本更改为您需要的任何版本,例如 2.3-head

【讨论】:

  • 我会考虑的。谢谢。
猜你喜欢
  • 2014-07-18
  • 1970-01-01
  • 2015-07-07
  • 1970-01-01
  • 1970-01-01
  • 2012-02-09
  • 1970-01-01
  • 2010-12-28
  • 2014-12-23
相关资源
最近更新 更多