From: Jay Levitt Date: 2006-02-19T09:53:29+09:00 Subject: Why does drb.rb depend on its filename? 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 when I did that, I got an error at launch: ....jrb.rb:1047: undefined method `to_s' for class `DRb::DRbObject' (NameError) And the same error happened when I left jrb.rb in /usr/local/lib/ruby/1.8. So it's not the path - it's the filename. What's going on? It works fine when run as drb.rb. Jay Levitt