From: tamouse mailing lists Date: 2013-03-21T10:42:33+09:00 Subject: Re: ruby-snmp annoying problem :( On Tue, Mar 19, 2013 at 7:58 AM, Chandra Sekhar wrote: > Tried to set a an Integer data type as defined above. However, SET not > sucess and getting error as As this is a mailing list, I have no idea what "above" is. > C:/Ruby192/lib/ruby/gems/1.9.1/gems/snmp-1.1.0/lib/snmp/varbind.rb:599:in > `encode': undefined method `encode' for 1:Fixnum (NoMethodError) Pay attention to the above error. It says that what you are applying the method `encode` to is a Fixnum, a number. All the rest of the stacktrace is probably unnecessary to post.