forked from djberg96/net-ping
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I installed it and started building a "Network ping sweeping", but as soon as I run my program I got this issue:
$ ruby network_ping_sweeping.rb 66.220.144.0
Traceback (most recent call last):
3: from network_ping_sweeping.rb:6:in `<main>'
2: from network_ping_sweeping.rb:6:in `new'
1: from /Users/victor/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/net-ping-2.0.2/lib/net/ping/icmp.rb:31:in `initialize'
/Users/victor/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/net-ping-2.0.2/lib/net/ping/icmp.rb:43:in
`rescue in initialize': undefined method `StandardError' for #<Net::Ping::ICMP:0x00007f90b589e688> (NoMethodError)
It seems like I need to install the cap2 gem which only runs on Linux.
Metadata
Metadata
Assignees
Labels
No labels