码迷,mamicode.com
首页 > 其他好文 > 详细

ruby获取最新ruby

时间:2019-01-02 15:11:56      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:获取   server   fail   ssl https   net   sudo   tps   comm   http   

rvm get stable

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

error
gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3

command curl -sSL https://rvm.io/mpapis.asc | gpg --import -

sudo apt-get install gnupg2

sudo apt-get update

sudo apt-get install gnupg2


curl -sSL https://get.rvm.io | bash -s stable

command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
command curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -


curl -sSL https://get.rvm.io | bash -s stable


rvm reload
echo rvm_auto_reload_flag=1 >> ~/.rvmrc
echo rvm_auto_reload_flag=2 >> ~/.rvmrc

ruby获取最新ruby

标签:获取   server   fail   ssl https   net   sudo   tps   comm   http   

原文地址:https://www.cnblogs.com/qinyan20/p/10208190.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!