From: Chad Fowler Date: 2005-05-09T20:30:17+09:00 Subject: Re: Hang when updating Gem source index On 5/9/05, Nick Triantos wrote: > Hi, > > Just installed Ruby 1.8.2-15 (win32 version) on a new Windows XP pc. > When I try to 'gem install' some packages, the app hangs / gets stuck > waiting as below. > C:\Documents and Settings\nick\Desktop>gem install rails --remote > Attempting remote installation of 'rails' > Updating Gem source index for: http://gems.rubyforge.org > --> gets stuck here, I let it run for hours with no response > > I've seen others reporting the issue here and elsewhere on the web, too, > but I haven't seen any solutions that work. I did update > rubygems-update to 0.8.10, that didn't change anything. Other gem cmds > (gem update, gem list, etc. do the same thing, when they get to this > same point. > > Any ideas? Anything I can do to debug this? Is there a trace cmd or > something like that in ruby? > Hi Nick. Are you able to download the gem source manually with your browser? It's at http://gems.rubyforge.org/yaml.Z. You could try using the tracer library, but it will give you a ton of output: ruby -rtracer /path/to/gem install rails --remote > outputfile.txt After waiting a couple of minutes, the last few lines of outputfile.txt would probably be helpful in determining where the program is hanging. -- Chad Fowler http://chadfowler.com http://rubycentral.org http://rubygarden.org http://rubygems.rubyforge.org (over 300,000 gems served!)