>>>>> "P" == Patrik Sundberg <ps / radiac.mine.nu> writes:

P> hmm.. ok. but doesn't undef :gets undefine every occurance of gets from the
P> class - private as well as public?

 You have undefined #gets in RbObjGwHandle, but you call @gw.send(:gets)

 Undef #gets in DRb::DRbObject (i.e. the class of @gw) and it will work.

P> using eval i seem to end up in Kernel#gets if I don't undef :gets in the
P> server class. I still don't really get this..

 Same problem with the server. If you don't undef #gets, ruby will try to
 call Kernel#gets but this time for the server.


Guy Decoux