https://github.com/sixarm/rvm-implode-systemwide-danger
Ruby Version Manager (RVM) implode systemwide - this is dangerous
https://github.com/sixarm/rvm-implode-systemwide-danger
iac implode ruby rvm uninstall
Last synced: 5 months ago
JSON representation
Ruby Version Manager (RVM) implode systemwide - this is dangerous
- Host: GitHub
- URL: https://github.com/sixarm/rvm-implode-systemwide-danger
- Owner: SixArm
- Created: 2016-02-10T01:42:24.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T19:24:31.000Z (over 2 years ago)
- Last Synced: 2025-02-06T00:28:11.064Z (about 1 year ago)
- Topics: iac, implode, ruby, rvm, uninstall
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Ruby Version Manager (RVM) implode systemwide:
THIS IS DANGEROUS
This script tries to eliminate RVM everywhere on the system,
by doing these steps:
* Run `rvm implode`
* Delete all known RVM-related files everywhere on the system.
* Delete all users' home directory `.rvm` directories and `.rvmrc` files.
* Uninstall all known RVM gems.
* Search the system for potential lingering items and print them.
## Use at your own risk
This script is not advanced:
* it does not do any error checking
* it does not ensure anything worked
* it does not guarantee success
If it doesn't work for you, please let us know and we'll improve it.
We welcome feedback, patches, and pull requests.
## Warnings
Some of the script lines may report missing directories.
For example, a Mac system typically has a /Users/ directory,
whereas a Linux system typically has a /home/ directory.
You can delete the lines that you don't need, if you like.
If rvm implode gives errors like this loop:
line 72: /usr/local/rvm/scripts/rvm: No such file or directory
then the rvm setup is bonked and we can delete the rvm script
by hand then run this script again; rvm implode won't work,
but the rest of the script will do a decent job of deleting
any lingering rvm files and reporting any remainders.