Skip to content

Instantly share code, notes, and snippets.

@ngn999
Created October 19, 2012 06:22
Show Gist options
  • Save ngn999/3916505 to your computer and use it in GitHub Desktop.
Save ngn999/3916505 to your computer and use it in GitHub Desktop.
rvm的安装

安装rvm:

user$ \curl -L https://get.rvm.io | bash -s stable

可能得多试几次, 不知道和功夫网有没有关系

设置好环境:

echo "source /home/admin/.rvm/scripts/rvm" > ~/.bashrc

退出当前shell, 重新login

用rvm安装ruby

rvm install 1.9.3
which ruby
which ri
which irb
which gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment