Giter VIP home page Giter VIP logo

rvm-implode-systemwide-danger's Introduction

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.

rvm-implode-systemwide-danger's People

Contributors

joelparkerhenderson avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.