Hi I am trying to use the snmp gem, and it doesn’t seem to work.
I am not sure what is wrong. “gem install snmp” seems to report
“gem list” contains the following
A Ruby implementation of SNMP (the Simple Network Management
So it looks like it installed correctly. However just issuing the
following in irb
shows me something is wrong:
irb(main):001:0> require ‘snmp’
LoadError: no such file to load – snmp
from (irb):1:in `require’
I am using “ruby 1.8.4 (2005-12-24) [i686-linux]” compiled from source.
I have installed
other gems with no problems at all.
Does anyone have any idea what I am doing wrong? Thanks in advance!