Created
May 27, 2011 19:57
-
-
Save anoras/996036 to your computer and use it in GitHub Desktop.
Getting path right with RVM on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) Open .bashrc | |
| 2) Replace... | |
| [ -z "$PS1" ] && return | |
| ..with... | |
| if [[ -n "$PS1" ]]; then | |
| 3) Add this to the end of your .bashrc | |
| if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi | |
| fi | |
| 4) Done! Run rvm notes to check that everything is ay-okay! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment