This is odd. The only time this error is thrown is when Java throws an UnknownHostException.
Running the gem code, I don't get this; I just get a really long hang followed by an OOM error. I assume this is what your yaml work is fixing, but anyway, maybe you just had a random connectivity blip? Evan Ola Bini wrote: > Hi again. > > It seems that the remote fetching of RubyGems should be a good test case > for the new IO handlers. With the old stuff I actually managed to > download the Gem source index, but no luck so far with the new things: > > After trying Tom's hack solution - which seems to work - I get this: > > Attempting local installation of 'rake' > Local gem file not found: rake*.gem > Attempting remote installation of 'rake' > Updating Gem source index for: http://gems.rubyforge.org > ERROR: While executing gem ... (Gem::RemoteSourceException) > Error fetching remote gem cache: getaddrinfo: Name or service not known > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:58:in `source_index' > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:313:in `source_index' > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:445:in `fetch_source' > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:436:in > `source_index_hash' > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:399:in `each' > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:437:in > `source_index_hash' > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:399:in `install' > ./lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:199:in `execute' > ./lib/ruby/site_ruby/1.8/rubygems/command.rb:49:in `each' > ./lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:230:in `execute' > ./lib/ruby/site_ruby/1.8/rubygems/command.rb:49:in `invoke' > ./lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:94:in `process_args' > ./lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run' > ./lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:13:in `run' > bin\gem:17 > > Any clues? > > /O > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Jruby-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jruby-devel ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
