Net-Ping Issue on Windows

Hi Everyone, I am having what seems like a rather trivial problem with
Net-ping in windows. Works fine on my mac, but not in windows.

If I run IRB, and try to:

require “net/ping”

I get the following

irb(main):002:0> require “net/ping”
LoadError: no such file to load – windows/console
from internal:lib/rubygems/custom_require:29:in require' from <internal:lib/rubygems/custom_require>:29:inrequire’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/net-ping-1.3.7/lib/net/ping/ext
ernal.rb:10:in <top (required)>' from <internal:lib/rubygems/custom_require>:29:inrequire’
from internal:lib/rubygems/custom_require:29:in require' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/net-ping-1.3.7/lib/net/ping.rb: 10:in<top (required)>’
from internal:lib/rubygems/custom_require:33:in require' from <internal:lib/rubygems/custom_require>:33:inrescue in
require’
from internal:lib/rubygems/custom_require:29:in require' from (irb):2 from C:/Ruby192/bin/irb:12:in
irb(main):003:0>

Meanwhile gem-list reveals
C:\Windows\system32>gem list | find “net-ping”
net-ping (1.3.7)

C:\Windows\system32>

Any help would really be appreciated, thanks everyone.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs