From: Petri Kivikangas on 3 Mar 2010 06:50 Why is that nowdays, when using rubygems 1.3.6, I get following error most of the time when trying to install or update gems: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) timed out (http://rubygems.org/gems/gemname-version.gem) Are there some problems with rubygems.org's servers? -- Posted via http://www.ruby-forum.com/.
From: Luis Lavena on 3 Mar 2010 07:26 On Mar 3, 12:50 pm, Petri Kivikangas <wallu...(a)gmail.com> wrote: > Why is that nowdays, when using rubygems 1.3.6, I get following error > most of the time when trying to install or update gems: > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > timed out (http://rubygems.org/gems/gemname-version.gem) > > Are there some problems with rubygems.org's servers? Please provide the complete output of the gem install command with "-- debug -V" options Also, since the gem is public, do not hide the gem name and version. Help us help you. -- Luis Lavena
From: Petri Kivikangas on 3 Mar 2010 09:27 Luis Lavena wrote: > Please provide the complete output of the gem install command with "-- > debug -V" options > > Also, since the gem is public, do not hide the gem name and version. > > Help us help you. $ gem install rails -V GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 304 Not Modified GET http://rubygems.org/specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/specs.4.8.gz 200 OK Installing gem activesupport-2.3.5 Downloading gem activesupport-2.3.5.gem GET 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) $ -- Posted via http://www.ruby-forum.com/.
From: Petri Kivikangas on 3 Mar 2010 09:52 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 #<Gem::Package::TarReader::Entry:0x0000000167c920> 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 #<Gem::Package::TarReader::Entry:0x0000000167c920> 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) GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://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 GET http://rubygems.org/specs.4.8.gz 302 Found GET http://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 GET http://rubygems.org/gems/activesupport-2.3.5.gem Exception `#<Class:0x00000002f71888>' 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) /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:176:in `rescue in fetch_path' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:170:in `fetch_path' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:108:in `download' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:250:in `block in install' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:240:in `each' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:240:in `install' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:119:in `block in execute' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:116:in `each' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:116:in `execute' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:258:in `invoke' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:134:in `process_args' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:104:in `run' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:58:in `run' /home/myhome/.rvm/rubies/ruby-1.9.1-p378/bin/gem:21:in `<main>' $ -- Posted via http://www.ruby-forum.com/.
From: Luis Lavena on 3 Mar 2010 13:41 On Mar 3, 3:52 pm, Petri Kivikangas <wallu...(a)gmail.com> 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 > #<Gem::Package::TarReader::Entry:0x0000000167c920> > 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 > #<Gem::Package::TarReader::Entry:0x0000000167c920> > 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 `#<Class:0x00000002f71888>' 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
|
Next
|
Last
Pages: 1 2 Prev: Remote Desktop getting reset and sessions are lost Next: Question about mysql gem |