From: Robert Klemme Date: 2011-01-28T21:54:00+09:00 Subject: Re: Modules acting up after relocating code On Thu, Jan 27, 2011 at 6:55 PM, Walle Wallen wrote: > 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: > > Exception `NoMethodError' at > /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.0/lib/net/ssh/buffer.rb:55 - > private method `send' called for # @content="", @position=0> > > Exception `NoMethodError' at > /Library/Ruby/Gems/1.8/gems/hpricot-0.8.3/lib/hpricot/elements.rb:310 - > private method `send' called for # We need more context, at least stack traces and probably also how you use those libraries. Ruby and gem versions are probably also helpful. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/