![](/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.