已采纳回答 / 申思维
安装rbenv https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-centos-7安装对应的版本即可。
2016-12-19
下载之前,要不然下载速度想死
修改镜像地址
For Linux
$ sed -i 's!cache.ruby-lang.org/pub/ruby!ruby.taobao.org/mirrors/ruby!' $rvm_path/config/db
修改镜像地址
For Linux
$ sed -i 's!cache.ruby-lang.org/pub/ruby!ruby.taobao.org/mirrors/ruby!' $rvm_path/config/db
2016-12-10