Gem :: InstallError: gem-wrappers not set to GEM_HOME while cleaning gems
How to avoid mistakes associated with cleaning precious stones. I see the following error while doing gem cleaning. Gem :: InstallError: gem-wrappers 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
+3
source to share
2 answers
The cleanup command removes old versions of gems from GEM_HOME that are not required to satisfy the dependency. If the gem is installed in a different GEM_PATH location, the clear command will not remove it.
You can try using sudo gem cleanup
Link cleaning gems
More Gem Cleaning
+1
source to share