From: ara.t.howard@... Date: 2006-05-06T00:27:33+09:00 Subject: Re: snmp gem On Sat, 6 May 2006, Rohit Mehta wrote: > > 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 success. > > "gem list" contains the following > > snmp (1.0.1) > A Ruby implementation of SNMP (the Simple Network Management > Protocol). > > 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' > from (irb):1 > irb(main):002:0> > > 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! > > Rohit require 'rubygems' -a -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama