I’m having a strange problem with some of my required modules/gems.
After relocating code to new files some of the modules has started
acting strange. For example, Hpricot has started generating Exceptions
as well as net/ssh regarding NoMethodError. What could be the problem?
Some of the Exceptions:
NoMethodError' at /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.0/lib/net/ssh/buffer.rb:55 - private methodsend’ called for #<Net::SSH::Buffer:0x101579908
NoMethodError' at /Library/Ruby/Gems/1.8/gems/hpricot-0.8.3/lib/hpricot/elements.rb:310 - private methodsend’ called for #Hpricot::Elem:0x1005a38d0
Okey, so I found the problem, seem like one of my functions, in another
superimposed send, in net/ssh and hpricot… Strange