There are instances where I would like to revert and uninstall all previous gem installations.
For instance, I needed to assist a friend migrate their rails developm
If you are using Rubygems version 2.1.0 or later, you can try: gem uninstall --all.
gem uninstall --all