Skip to content

Instantly share code, notes, and snippets.

@anoras
Created May 27, 2011 19:57
Show Gist options
  • Select an option

  • Save anoras/996036 to your computer and use it in GitHub Desktop.

Select an option

Save anoras/996036 to your computer and use it in GitHub Desktop.
Getting path right with RVM on Ubuntu
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