curl -sSL https://get.rvm.io | bash
/usr/local/rvm/bin/rvm install 1.9.3
vim /etc/profile
添加一行
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
source /etc/profile
type rvm | head -1
rvm use 1.9.3
ruby -v
curl -sSL https://get.rvm.io | bash
/usr/local/rvm/bin/rvm install 1.9.3
vim /etc/profile
添加一行
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
source /etc/profile
type rvm | head -1
rvm use 1.9.3
ruby -v
转载于:https://my.oschina.net/u/232595/blog/776756