Permalink
Browse files

Merge pull request #13 from hooktstudios/spork-1.9.3-patch

Disable resolv-replace for ruby 1.9.3
  • Loading branch information...
2 parents 9252076 + bd5cb7a commit 8565e75ba1c0b8cfe2e821c2ec5a384bdcc352f9 @djberg96 committed Jan 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/net/ping/http.rb
@@ -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

0 comments on commit 8565e75

Please sign in to comment.