How do I avoid gem cleanup specific errors. I see the following error while performing gem cleanup. Gem::InstallError: gem-wrappers is not installed in GEM_HOME
gem cleanup
Cleaning up installed gems...
Attempting to uninstall gem-wrappers-1.2.4
Unable to uninstall gem-wrappers-1.2.4:
Gem::InstallError: gem-wrappers is not installed in GEM_HOME, try:
gem uninstall -i /home/ec2-user/.rvm/gems/ruby-2.1.2@global gem-wrappers
Attempting to uninstall gem-wrappers-1.2.4
Unable to uninstall gem-wrappers-1.2.4:
Gem::InstallError: gem-wrappers is not installed in GEM_HOME, try:
gem uninstall -i /home/ec2-user/.rvm/gems/ruby-2.1.2@global gem-wrappers
Clean Up Complete
The cleanup command removes old versions of gems from GEM_HOME that are not required to meet a dependency. If a gem is installed elsewhere in GEM_PATH the cleanup command won’t delete it.
You can try using sudo gem cleanup
Reference gem cleanup
Another Cleanup gems
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