简体   繁体   English

如何在Xubuntu 14.04上安装RVM

[英]How to install RVM on Xubuntu 14.04

I try install RVM using this tutorial. 我尝试使用教程安装RVM。 But I get en error on this step $ \\curl -L https://get.rvm.io | bash -s stable --ruby 但是我在此步骤上遇到了错误$ \\curl -L https://get.rvm.io | bash -s stable --ruby $ \\curl -L https://get.rvm.io | bash -s stable --ruby . $ \\curl -L https://get.rvm.io | bash -s stable --ruby I get this message: 我收到此消息:

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

Maybe problem is due to my localization - it is Ukraine. 也许问题是由于我的本地化-乌克兰。 There is line in terminal output gpg: Signature made вт, 31-бер-2015 00:52:13 +0300 EEST using RSA key ID BF04FF17 with вт, 31-бер-2015 which means Tuesday, March 31. 终端输出gpg: Signature made вт, 31-бер-2015 00:52:13 +0300 EEST using RSA key ID BF04FF17有一行gpg: Signature made вт, 31-бер-2015 00:52:13 +0300 EEST using RSA key ID BF04FF17вт, 31-бер-2015 gpg: Signature made вт, 31-бер-2015 00:52:13 +0300 EEST using RSA key ID BF04FF17 вт, 31-бер-2015表示3月31 вт, 31-бер-2015 ,星期二。

This is the command I use to install Ruby using RVM toolkit: 这是我使用RVM工具箱安装Ruby的命令:

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

You may change the Ruby version to whatever you need, for example 2.3-head 您可以将Ruby版本更改为所需的任何版本,例如2.3-head

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM