From: Luis Lavena Date: 2010-03-04T03:45:07+09:00 Subject: Re: Rubygems(.org) timing out all the time On Mar 3, 3:52 pm, Petri Kivikangas wrote: > ah, forgot --debug. > > $ gem install --debug -V rails > Exception `NameError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/ command_manager.rb:163 > - uninitialized constant Gem::Commands::InstallCommand > Exception `Gem::LoadError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems. rb:777 > - Could not find RubyGem test-unit (>= 0) > > Exception `NoMethodError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/ package/tar_input.rb:49 > - undefined method `readpartial' for > # > Exception `NoMethodError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/ specification.rb:518 > - undefined method `readpartial' for > # > Exception `IOError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/ format.rb:50 > - closed stream > Exception `Gem::LoadError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems. rb:777 > - Could not find RubyGem sources (> 0.0.1) > > GEThttp://rubygems.org/latest_specs.4.8.gz > 302 Found > GEThttp://production.s3.rubygems.org/latest_specs.4.8.gz > 200 OK > Exception `Errno::EEXIST' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/fileutils.rb:243 > - File exists - /home/myhome/.gem/specs/rubygems.org%80 > GEThttp://rubygems.org/specs.4.8.gz > 302 Found > GEThttp://production.s3.rubygems.org/specs.4.8.gz > 200 OK > Exception `Errno::EEXIST' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/fileutils.rb:243 > - File exists - /home/myhome/.gem/specs/rubygems.org%80 > Installing gem activesupport-2.3.5 > Downloading gem activesupport-2.3.5.gem > GEThttp://rubygems.org/gems/activesupport-2.3.5.gem > Exception `#' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/net/protocol.rb:135 > - execution expired > Exception `Timeout::Error' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/timeout.rb:63 - > execution expired > Exception `Gem::RemoteFetcher::FetchError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/ remote_fetcher.rb:176 > - timed out (http://rubygems.org/gems/activesupport-2.3.5.gem) > Exception `Gem::RemoteFetcher::FetchError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/ remote_fetcher.rb:110 > - timed out (http://rubygems.org/gems/activesupport-2.3.5.gem) > Exception `Gem::RemoteFetcher::FetchError' at > /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/ dependency_installer.rb:254 > - timed out (http://rubygems.org/gems/activesupport-2.3.5.gem) > ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError) >     timed out (http://rubygems.org/gems/activesupport-2.3.5.gem) Can you do wget on the gem? wget http://rubygems.org/gems/activesupport-2.3.5.gem From here I get this: --2010-03-03 19:38:49-- http://rubygems.org/gems/activesupport-2.3.5.gem Resolving rubygems.org... 72.4.120.124 Connecting to rubygems.org|72.4.120.124|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://production.cf.rubygems.org/gems/activesupport-2.3.5.gem [following] --2010-03-03 19:38:49-- http://production.cf.rubygems.org/gems/activesupport-2.3.5.gem Resolving production.cf.rubygems.org... 216.137.61.103, 216.137.61.59, 216.137.61.230, ... Connecting to production.cf.rubygems.org|216.137.61.103|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 410624 (401K) [] Saving to: `activesupport-2.3.5.gem' 100% [=============================================================================================>] 410,624 867K/s in 0.5s 2010-03-03 19:38:50 (867 KB/s) - `activesupport-2.3.5.gem' saved [410624/410624] If you get timeouts there please report here: http://help.rubygems.org/ It may be a issue from your ISP/Firewall and Amazon CloudFront -- Luis Lavena