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(切换)

 

转载于:https://www.cnblogs.com/messipapa/p/4535049.html

你可能感兴趣的:(centos安装rvm报错@curl -L get.rvm.io | bash -s stable fails on cent OS)