Skip to content
This repository has been archived by the owner on Feb 18, 2018. It is now read-only.

Disable resolv-replace for ruby 1.9.3 #13

Merged
merged 1 commit into from Jan 13, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/net/ping/http.rb
Expand Up @@ -5,7 +5,7 @@

# Force non-blocking Socket.getaddrinfo on Unix systems. Do not use on
# Windows because it (ironically) causes blocking problems.
unless File::ALT_SEPARATOR
unless File::ALT_SEPARATOR or RUBY_VERSION >= "1.9.3"
require 'resolv-replace'
end

Expand Down