centos安装rvm报错@curl -L get.rvm.io | bash -s stable fails on cent OS

It is a security feature introduced in the latest version of RVM
https://github.com/wayneeseguin/rvm/releases/tag/1.26.0

You just need to follow the instruction to import the key:

$ gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3

 

================================================

during

 

yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel

 

安装

curl -L get.rvm.io | bash -s stable




vi ~/.bash_profile


添加source /etc/profile.d/rvm.sh



 

安装新版本的ruby

rvm install 1.9.3-p194

 

查看所有版本

rvm list known

 

使用版本

rvm use system

rvm use 1.9.3(切换)

 

posted @ 2015-05-28 09:20  梅西爸爸  阅读(2904)  评论(0编辑  收藏  举报