rvm 安装ruby centos6.5

rvm 安装ruby centos6.5



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


rvm 安装要用普通用户.
然后切换taobao 源头.

>rvm gemset create 
>rvm use 2.2.2
解决 Gemset '' does not exist, 'rvm ruby-2.2.2 do rvm gemset create ' first, or append '--create'.
>rvm --create ruby-2.2.2
>rvm 2.2.2 --default



gem install execjs 
gem install therubyracer
sudo apt-get install nodejs


RVM and Gemsets 使用.
http://blog.eddie.com.tw/2011/04/08/rvm-and-gemsets/

bash 添加rvm default 版本问题:
http://segmentfault.com/q/1010000000712443  

taobao ruby 安装
http://ruby.taobao.org/
rvm ruby 安装 注意别用root 
https://ruby-china.org/wiki/rvm-guide

http://segmentfault.com/a/1190000002922180

一般安装rvm&ruby:
http://www.jianshu.com/p/70d674bffd12 
http://stackoverflow.com/questions/15848635/rvm-not-recognizing-gemset

你可能感兴趣的:(rvm 安装ruby centos6.5)