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