How to remove all rubies and their corresponding gemsets. Also is it possible that all source file for rubies and gems are also removed.
I tried rvm implode
It seems that it removed rvm also.
Any gems that you install while using an RVM's ruby version, is self contained in that version. However there may come a time when you no longer want to use a particular ruby version and want to delete it along with all it's gems. Then this can be done using the “remove” command.
You need to specify the gemset you want to empty. It's not enough just to "rvm use [gemset_name]". You need to "rvm gemset empty [gemset_name]". I suppose if you have many gems, it could take a while to uninstall them all.
Use rbenv versions to see which versions you have installed. To remove a Ruby version from rbenv, delete the corresponding directory in ~/. rbenv/versions .
rvm remove all
should do this for you.
The alternative is to just reinstall rvm
after an implode and that usually doesn't take too long.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With