mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[ruby/resolv] Require rbconfig in resolv.rb
Uses ::RbConfig::CONFIG['host_os'] Found with ruby --disable-gems -e '...' https://github.com/ruby/resolv/commit/5a5a81ce98
This commit is contained in:
parent
9b576cd625
commit
83a2860484
@ -4,6 +4,7 @@ require 'socket'
|
||||
require 'timeout'
|
||||
require 'io/wait'
|
||||
require 'securerandom'
|
||||
require 'rbconfig'
|
||||
|
||||
# Resolv is a thread-aware DNS resolver library written in Ruby. Resolv can
|
||||
# handle multiple DNS requests concurrently without blocking the entire Ruby
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user