Forum: Ruby Timeout updating system

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
734059c5b458aa21d8f98cb90ecbaaf9?d=identicon&s=25 Caines, Max (Guest)
on 2009-06-09 11:50
(Received via mailing list)
Hi

I've just installed Ruby (186-27) using the one-step installer on
Windows
(XP SP3). I want to install Watir, so I need to update the system.
However,
when I run "gen update --system" I get:

Updating RubyGems
WARNING:  RubyGems 1.2+ index not found for:

RubyGems will revert to legacy indexes degrading performance.
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    timed out (http://gems.rubyforge.org/Marshal.4.8)

The output from "gem list --local" is:

*** LOCAL GEMS ***

fxri (0.3.6)
fxruby (1.6.16)
hpricot (0.6.164)
log4r (1.0.5)
ptools (1.1.6)
rake (0.8.1)
ruby-opengl (0.60.0)
test-unit (2.0.1)
win32-api (1.2.1, 1.2.0)
win32-clipboard (0.4.4)
win32-dir (0.3.2)
win32-eventlog (0.5.0)
win32-file (0.5.5)
win32-file-stat (1.3.1)
win32-process (0.5.9)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.2.4)
windows-pr (0.9.3)

The output from "gem env" is:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.1
  - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
  - INSTALLATION DIRECTORY: c:/ruby/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: c:/ruby/bin/ruby.exe
  - EXECUTABLE DIRECTORY: c:/ruby/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mswin32-60
  - GEM PATHS:
     - c:/ruby/lib/ruby/gems/1.8
     - U:/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/

I'm on a gigabit JANET Internet link, and we have no Web proxy. I can
access
the URL it's complaining about, so I'm baffled as to what's going on.
This
is now the third time I've installed Ruby (I did uninstall each time,
too),
and on previous occasions I tried downloading the individual components
and
updateing them locally, but there are so many to update and so many
dependencies that I gave up. Does anyone have any idea what's going on?

Max Caines
IT Services, University of Wolverhampton
Wolverhampton, West Midlands WV1 1SB
Tel: 01902 322245 Fax: 01902 322777
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2009-06-10 00:11
> I'm on a gigabit JANET Internet link, and we have no Web proxy. I can
> access
> the URL it's complaining about, so I'm baffled as to what's going on.
> This
> is now the third time I've installed Ruby (I did uninstall each time,
> too),
> and on previous occasions I tried downloading the individual components
> and
> updateing them locally, but there are so many to update and so many
> dependencies that I gave up. Does anyone have any idea what's going on?

For some reason rubygems times out for me at times, too.
I'd recommend just downloading the latest rubygems code and installing
it.
-=r
58479f76374a3ba3c69b9804163f39f4?d=identicon&s=25 Eric Hodel (Guest)
on 2009-06-10 00:23
(Received via mailing list)
On Jun 9, 2009, at 02:50, Caines, Max wrote:
> I've just installed Ruby (186-27) using the one-step installer on
> Windows (XP SP3). I want to install Watir, so I need to update the
> system. However, when I run "gen update --system" I get:
>
> Updating RubyGems
> WARNING:  RubyGems 1.2+ index not found for:
>
> RubyGems will revert to legacy indexes degrading performance.
> ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
>     timed out (http://gems.rubyforge.org/Marshal.4.8)

What does `gem update -V --system` say?
734059c5b458aa21d8f98cb90ecbaaf9?d=identicon&s=25 Caines, Max (Guest)
on 2009-06-10 10:25
(Received via mailing list)
> -----Original Message-----
> From: Eric Hodel [mailto:drbrain@segment7.net]
> Sent: 09 June 2009 23:23
> To: ruby-talk ML
> Subject: Re: Timeout updating system
>
> What does `gem update -V --system` say?
>
>

It says:

C:\Ruby\bin>gem update -V --system
Updating RubyGems
connection reset after 1 requests, retrying
connection reset after 1 requests, retrying
connection reset after 2 requests, retrying
connection reset after 1 requests, retrying
connection reset after 2 requests, retrying
connection reset after 1 requests, retrying
ERROR:  http://gems.rubyforge.org/ does not appear to be a repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    too many connection resets (http://gems.rubyforge.org/yaml)

Thanks

Max
This topic is locked and can not be replied to.