Skip to content
Browse files

RbConfig vs. Config in Ruby 1.9.3, yet again.

Gna, I should go to an optician.
  • Loading branch information...
1 parent 9fb8762 commit b36919eb48e85c22adbb99725bad0d0fb7b2a511 @tosch tosch committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/net/ping.rb
View
2 lib/net/ping.rb
@@ -13,6 +13,6 @@
RbConfig = Config unless Object.const_defined?(:RbConfig)
-if Config::CONFIG['host_os'] =~ /msdos|mswin|cygwin|mingw|win32|windows/i
+if RbConfig::CONFIG['host_os'] =~ /msdos|mswin|cygwin|mingw|win32|windows/i
require File.join(File.dirname(__FILE__), 'ping/wmi')
end

0 comments on commit b36919e

Please sign in to comment.
Something went wrong with that request. Please try again.