简体   繁体   English

尝试安装RoR时无法安装RVM

[英]failing to install RVM while trying to install RoR

I am trying to install RoR on my system. 我正在尝试在系统上安装RoR。 I am following digital ocean's tutorial. 我正在关注数字海洋的教程。 While I try to install RVM \\curl -L https://get.rvm.io | bash -s stable 当我尝试安装RVM \\curl -L https://get.rvm.io | bash -s stable \\curl -L https://get.rvm.io | bash -s stable with this command I am getting the below error: \\curl -L https://get.rvm.io | bash -s stable使用此命令\\curl -L https://get.rvm.io | bash -s stable时,出现以下错误:

gpg: Signature made Tuesday 31 March 2015 03:22:13 AM IST 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. gpg:使用RSA密钥ID BF04FF17在IST上于2015年3月31日星期二进行签名gpg:无法检查签名:未找到公钥警告,发现GPG软件后,RVM 1.26.0引入了签名发行和自动检查签名。 Assuming you trust Michal Papis import the mpapis public key (downloading the signatures). 假设您信任Michal Papis导入mpapis公钥(下载签名)。

GPG signature verification failed for '/home/suraj/.rvm/archives/rvm-1.26.11.tgz' - ' https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc '! '/home/suraj/.rvm/archives/rvm-1.26.11.tgz'-'https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11的GPG签名验证失败。 tar.gz.asc '! try downloading the signatures: 尝试下载签名:

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 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

I tried to add the key manually with no success. 我尝试手动添加密钥,但没有成功。 someone please help me out here. 有人请在这里帮助我。

对于仍然面临此问题的任何人,仅当我将“ gpg”替换为“ gpg2”时,它才对我有用:

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

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

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