Friday, October 11, 2013

Installing Ruby via RVM

1. $ rvm install ruby-1.9.2-p180
2. Add this to ~/.bashrc file
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

3. $ source ~/.rvm/scripts/rvm
4. $ type rvm | head -n 1
       should return a
       rvm is a function
5. $ rvm --default use ruby-1.9.2-p180

No comments:

Post a Comment