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
You could also build out a new Gemfile and run bundle clean --force. This will remove all other gems that aren't included in the new Gemfile.
bundle clean --force