Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/60.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 如何在Xubuntu 14.04上安装RVM_Ruby On Rails_Ruby_Bash_Localization_Rvm - Fatal编程技术网

Ruby on rails 如何在Xubuntu 14.04上安装RVM

Ruby on rails 如何在Xubuntu 14.04上安装RVM,ruby-on-rails,ruby,bash,localization,rvm,Ruby On Rails,Ruby,Bash,Localization,Rvm,我尝试使用教程安装RVM。但是我在这个步骤中得到了en错误$\curl-Lhttps://get.rvm.io |bash-s稳定--ruby。我得到这个信息: oleg@olegx301a:~$ \curl -L https://get.rvm.io | bash -s stable --ruby % Total % Received % Xferd Average Speed Time Time Time Current

我尝试使用教程安装RVM。但是我在这个步骤中得到了en错误
$\curl-Lhttps://get.rvm.io |bash-s稳定--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:31-бббббб-2015 00:52:13+0300 EEST,使用RSA密钥ID BF04FF17
бббббббббб-2015 这是我使用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

您应该尝试按照它建议的方式下载签名。看看它是如何响应的他们特意给了你运行的命令。你试过了吗?这只是一条消息,说在你加载GPG密钥之前,它不会安装任何东西。@OscillatingMonkey和@tadman谢谢。我只是不知道它到底要我安装什么。我应该删除这个主题吗?别管它了,我相信人们总会遇到像这样的小问题,我会考虑的。谢谢