Skip to content

Instantly share code, notes, and snippets.

@martincr
Created January 10, 2015 03:29
Show Gist options
  • Save martincr/7028087483694567c606 to your computer and use it in GitHub Desktop.
Save martincr/7028087483694567c606 to your computer and use it in GitHub Desktop.
cleanout-rvm.sh
#!/bin/bash
/usr/bin/sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh /usr/local/rvm /usr/local/bin/rvm
/usr/bin/sudo /usr/sbin/groupdel rvm
/bin/echo "RVM is removed. Please check all .bashrc|.bash_profile|.profile|.zshrc for RVM source lines and delete
or comment out if this was a Per-User installation."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment