Net-Ping Issue on Windows


F

Filc Nossor

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:in `require'
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:in `require'
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:in `rescue in
require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from (irb):2
from C:/Ruby192/bin/irb:12:in `<main>'
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.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top