Skip to content

Instantly share code, notes, and snippets.

@phudgins
Created April 10, 2012 12:35
Show Gist options
  • Save phudgins/2351078 to your computer and use it in GitHub Desktop.
Save phudgins/2351078 to your computer and use it in GitHub Desktop.
Remove RVM if rvm implode doesn't work
#!/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