[windows] `uru gem clean` failure

Issue #34 resolved
Jon repo owner created an issue
C:\>uru gem clean
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) Client VM 1.7.0_21-b11 +indy [Windows 7-x86]

Cleaning up installed gems...
Clean Up Complete

ruby 2.0.0p201 (2013-06-04 revision 41056) [i386-mingw32]

Cleaning up installed gems...
Clean Up Complete

ruby 1.9.3p430 (2013-05-15 revision 40754) [i386-mingw32]

Cleaning up installed gems...
Attempting to uninstall treetop-1.4.12
Unable to uninstall treetop-1.4.12:
        Gem::InstallError: treetop is not installed in GEM_HOME, try:
        gem uninstall -i C:/ruby193/lib/ruby/gems/1.9.1 treetop
Attempting to uninstall multi_json-1.7.5
Unable to uninstall multi_json-1.7.5:
        Gem::InstallError: multi_json is not installed in GEM_HOME, try:
        gem uninstall -i C:/ruby193/lib/ruby/gems/1.9.1 multi_json
Attempting to uninstall treetop-1.4.12
Unable to uninstall treetop-1.4.12:
        Gem::InstallError: treetop is not installed in GEM_HOME, try:
        gem uninstall -i C:/ruby193/lib/ruby/gems/1.9.1 treetop
Attempting to uninstall multi_json-1.7.5
Unable to uninstall multi_json-1.7.5:
        Gem::InstallError: multi_json is not installed in GEM_HOME, try:
        gem uninstall -i C:/ruby193/lib/ruby/gems/1.9.1 multi_json
Clean Up Complete

ruby 2.0.0p201 (2013-06-04 revision 41056) [i386-mingw32]

Cleaning up installed gems...
Clean Up Complete

...while the manual version works as expected

C:\>gem clean
Cleaning up installed gems...
Attempting to uninstall treetop-1.4.12
Successfully uninstalled treetop-1.4.12
Attempting to uninstall multi_json-1.7.5
Successfully uninstalled multi_json-1.7.5
Clean Up Complete

Comments (5)

  1. Jon reporter

    Appears to be related to setting GEM_HOME to the empty string. As GEM_HOME is currently not supported on Windows (assume all gems installed in Ruby installation tree) this is an easy fix. Testing...

  2. Log in to comment