I was creating my first DRb server, and ran into a trouble with ACLs. I
wanted to put a debug statement into DRb::Accept, so I copied it to my
directory, renamed it jrb.rb, and required it with the new name. But
I did that, I got an error at launch:
…jrb.rb:1047: undefined method
to_s' for classDRb::DRbObject’
And the same error happened when I left jrb.rb in
So it’s not the path - it’s the filename.
What’s going on? It works fine when run as drb.rb.