Skip to content

Instantly share code, notes, and snippets.

@wagura-maurice
Created March 15, 2019 08:36
Show Gist options
  • Save wagura-maurice/a3df1f0bdfbd601b7b9a4c73f66e5972 to your computer and use it in GitHub Desktop.
Save wagura-maurice/a3df1f0bdfbd601b7b9a4c73f66e5972 to your computer and use it in GitHub Desktop.
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
source ~/.bashrc
@wagura-maurice
Copy link
Author

Add RVM to PATH for scripting. Make sure this is the last PATH variable change.

export PATH="$PATH:$HOME/.rvm/bin"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment