ruby-snmp icon indicating copy to clipboard operation
ruby-snmp copied to clipboard

After "gem install snmp",I still can not use snmp

Open besfan opened this issue 13 years ago • 1 comments

I'm a ruby beginner, "gem install snmp" is executed successfully, and after execute "gem list", I can find right result "snmp 1.1.0". When I execute a sample,it print "in 'require': no such file to load--snmp <Load Error>" I don't know the reason. Please help me,thank you very much!

besfan avatar Nov 14 '12 01:11 besfan

I suspect your issue is in how you're requiring the gem.... You may need to require rubygems first, if you're using the 'gem' syntax...

Otherwise, do you have any code to post?

counterbeing avatar Dec 05 '12 02:12 counterbeing