[windows] `uru gem up <gem>...` failure

Issue #35 resolved
Jon repo owner created an issue

On Win7 32bit after getting a listing of outdated gems via

C:\>uru gem out
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) Client VM 1.7.0_25-b16 +indy [Windows 7-x86]

addressable (2.3.4 < 2.3.5)
atomic (1.1.9 < 1.1.10)
bcrypt-ruby (3.0.1 < 3.1.0)
jquery-rails (3.0.1 < 3.0.2)
kramdown (1.0.2 < 1.1.0)
minitest (5.0.5 < 5.0.6)
sequel (3.48.0 < 4.0.0)

ruby 1.9.3p448 (2013-06-27 revision 41673) [i386-mingw32]

net-ssh (2.6.7 < 2.6.8)

ruby 2.0.0p255 (2013-07-07 revision 41812) [i386-mingw32]

bigdecimal (1.2.0 < 1.2.1)
minitest (5.0.5 < 5.0.6)

ruby 2.0.0p255 (2013-07-07 revision 41812) [i386-mingw32]

the uru gem up command falls down like

C:\>uru gem up addressable net-ssh minitest
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) Client VM 1.7.0_25-b16 +indy [Windows 7-x86]

---> unable to run `gem up addressable net-ssh minitest`

--- returned error message ---
exit status 1

--- combined child output ---
Updating installed gems
Updating addressable
ERROR:  While executing gem ... (Errno::EIO)
    Input/output error - C:\

ruby 1.9.3p448 (2013-06-27 revision 41673) [i386-mingw32]

---> unable to run `gem up addressable net-ssh minitest`

--- returned error message ---
exit status 1

--- combined child output ---
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory -
Updating installed gems
Updating net-ssh

ruby 2.0.0p255 (2013-07-07 revision 41812) [i386-mingw32]

---> unable to run `gem up addressable net-ssh minitest`

--- returned error message ---
exit status 1

--- combined child output ---
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory -
Updating installed gems
Updating minitest

ruby 2.0.0p255 (2013-07-07 revision 41812) [i386-mingw32]

Updating installed gems
Nothing to update

Comments (4)

  1. Jon reporter

    This shouldn't be happening as I'm explicitly trying to avoid the gem.bat wrapper on windows. Where are you hiding you pesky imp!?

    I thought it was just failing in cmd.exe (POS) but it also fails in powershell. Not looking forward to spelunking this one as it's not likely the Go system code but some Windows process wackiness I don't know about.

  2. 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...

  3. Log in to comment