Cannot update with gem

dunno what to do. why is it looking for U:/

C:\WINDOWS>gem list --remote

*** REMOTE GEMS ***

ERROR: While executing gem ... (Errno::ENOENT)
    No such file or directory - U:/

C:\WINDOWS>gem update --system
Updating RubyGems
ERROR: While executing gem ... (Errno::ENOENT)
    No such file or directory - U:/

C:\WINDOWS>gem build foo.gemspec
ERROR: Gemspec file not found: foo.gemspec

C:\WINDOWS>gem install rubygems-update
ERROR: While executing gem ... (Errno::ENOENT)
    No such file or directory - U:/

ping works
C:\WINDOWS>ping rubygem.org

Pinging rubygem.org [82.98.86.161] with 32 bytes of data:

Reply from 82.98.86.161: bytes=32 time=170ms TTL=54
Reply from 82.98.86.161: bytes=32 time=178ms TTL=54
Reply from 82.98.86.161: bytes=32 time=202ms TTL=54
Reply from 82.98.86.161: bytes=32 time=210ms TTL=54

Ping statistics for 82.98.86.161:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 170ms, Maximum = 210ms, Average = 190ms

See previous threads about this:

http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/1435ce13e1332a31

Which lead to this:

http://groups.google.com/group/rubyinstaller/msg/9158aa07e6d71da8

Check your environment variables and provide "gem env" output when
describing issues with RubyGems

···

On Dec 23, 8:30 pm, Junkone <junko...@gmail.com> wrote:

dunno what to do. why is it looking for U:/

C:\WINDOWS>gem list --remote

*** REMOTE GEMS ***

ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - U:/

--
Luis Lavena

Hi,

Can you paste the result of gem sources -l ?

···

--
Thanks & Regards,
Dhruva Sagar <http://dhruvasagar.net>.

On Fri, Dec 24, 2010 at 05:05, Junkone <junkone1@gmail.com> wrote:

dunno what to do. why is it looking for U:/

C:\WINDOWS>gem list --remote

*** REMOTE GEMS ***

ERROR: While executing gem ... (Errno::ENOENT)
   No such file or directory - U:/

C:\WINDOWS>gem update --system
Updating RubyGems
ERROR: While executing gem ... (Errno::ENOENT)
   No such file or directory - U:/

C:\WINDOWS>gem build foo.gemspec
ERROR: Gemspec file not found: foo.gemspec

C:\WINDOWS>gem install rubygems-update
ERROR: While executing gem ... (Errno::ENOENT)
   No such file or directory - U:/

ping works
C:\WINDOWS>ping rubygem.org

Pinging rubygem.org [82.98.86.161] with 32 bytes of data:

Reply from 82.98.86.161: bytes=32 time=170ms TTL=54
Reply from 82.98.86.161: bytes=32 time=178ms TTL=54
Reply from 82.98.86.161: bytes=32 time=202ms TTL=54
Reply from 82.98.86.161: bytes=32 time=210ms TTL=54

Ping statistics for 82.98.86.161:
   Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
   Minimum = 170ms, Maximum = 210ms, Average = 190ms