Project

General

Profile

Actions

Bug #10712

closed

[PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout

Added by normalperson (Eric Wong) almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Target version:
ruby -v:
trunk
[ruby-core:67410]

Description

This allows "gem install /path/to/local.gem" to be successful
on a machine without a network connection.

I'm fairly sure this should be fixed in lib/resolv.rb instead
of inside RubyGems (and everything else which relies on rescuing
Resolv::ResolvError).


Files

Updated by akr (Akira Tanaka) almost 10 years ago

Please commit.

Actions #2

Updated by Anonymous almost 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r49175.


lib/resolv.rb: consider ENETUNREACH as ResolvTimeout

This allows "gem install /path/to/local.gem" to be successful
on a machine without a network connection.

[ruby-core:67411] [Bug #10712]

Updated by naruse (Yui NARUSE) almost 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE

ruby_2_2 r49286 merged revision(s) 49175.

Updated by usa (Usaku NAKAMURA) almost 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE to 2.0.0: DONE, 2.1: REQUIRED, 2.2: DONE

ruby_2_0_0 r49422 merged revision(s) 49175.
and also backported a part of r40160.

Updated by nagachika (Tomoyuki Chikanaga) almost 10 years ago

  • Backport changed from 2.0.0: DONE, 2.1: REQUIRED, 2.2: DONE to 2.0.0: DONE, 2.1: DONE, 2.2: DONE

Backported into ruby_2_1 at r49785.

Updated by djberg96 (Daniel Berger) almost 10 years ago

Isn't that what the -l switch is for?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0