[windows-xp] `uru gem/ruby --version` fails

Issue #32 resolved
Jon repo owner created an issue

XP SP3 fails with:

C:\>uru ver
uru v0.6.0

C:\>uru ls --verbose
         187p371: ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]
                  ID: 1.8.7-p371
                  Home: c:\ruby187\bin
                  GemHome:

 =>       system: ruby 1.9.3p415 (2013-04-11 revision 40231) [i386-mingw32]
                  ID: 1.9.3-p415
                  Home: c:\ruby193\bin
                  GemHome:


C:\>uru gem --version
ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]

Unable to run `%s %s`

 gem --version

C:\>uru ruby --version
ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]

Unable to run `%s %s`

 ruby --version

Comments (7)

  1. Jon reporter

    post fix for broken error reporting:

    C:\>uru gem --version
    ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]
    
    [ERROR] setting GEM_HOME, unable to run `gem --version`
    
    
    C:\>uru ruby --version
    ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]
    
    [ERROR] setting GEM_HOME, unable to run `ruby --version`
    
  2. Jon reporter

    lovely, a bit more instrumentation show it's time to spelunk win7 vs. xp os.Setenv differences:

    C:\>uru gem --version
    ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]
    
    [ERROR] setting GEM_HOME, unable to run `gem --version`
    
    
    error.Error():
    setenv: The system could not find the environment option that was entered.
    
    
    C:\>uru ruby --version
    ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]
    
    [ERROR] setting GEM_HOME, unable to run `ruby --version`
    
    
    error.Error():
    setenv: The system could not find the environment option that was entered.
    
  3. Log in to comment