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.
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
- 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]
- 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.
- 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.
- 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.
Isn't that what the -l switch is for?
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0