Forum: Rails France problem with pcap library

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Abdou D. (Guest)
on 2010-08-27 16:07
Hi

I want to work with the pcap library, and I installed libpcap and pcap
library in Ubuntu, but when I try a code, there is an error:

//var/lib/gems/1.8/gems/pcap-0.7.1/lib/pcaplet.rb:67:in `initialize':
uninitialized constant Pcap::Pcaplet::PcapError (NameError)
  from tcpdump.rb:14:in `new'
  from tcpdump.rb:14


I searched on the net i didn't find anything to help to pass this error.


Thanks in advance
This topic is locked and can not be replied to.