Modules acting up after relocating code

W

Walle Wallen

Hello,

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 #<Net::SSH::Buffer:0x101579908
@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 #<Hpricot::Elem:0x1005a38d0>

//Walle
 
R

Robert Klemme

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 #<Net::SSH::Buffer:0x101579908
@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 #<Hpricot::Elem:0x1005a38d0>

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
 
W

Walle Wallen

Robert Klemme wrote in post #978150:
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

Hey,
I solved the problem, one of my functions superimposed send in net/http
as well as in hpricot.

Thanks.

//Walle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top