![](/img/trans.png)
[英]Trying to install rails on xubuntu 14.04 ERROR: Failed to build gem native extension
[英]How to install RVM on Xubuntu 14.04
我尝试使用本教程安装RVM。 但是我在此步骤上遇到了错误$ \\curl -L https://get.rvm.io | bash -s stable --ruby
$ \\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
有一行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
,星期二。
这是我使用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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.