From: Jay Levitt Date: 2006-02-19T22:08:30+09:00 Subject: Re: Why does drb.rb depend on its filename? On Sun, 19 Feb 2006 10:13:44 +0900, Eric Hodel wrote: >> What's going on? It works fine when run as drb.rb. > > It would be easier to tell you with an example. $ cp /usr/local/lib/ruby/1.8/drb/drb.rb jrb.rb $ cat > test.rb #!/usr/local/bin/ruby require "jrb" def main DRb.start_service("druby://localhost:8000", IceDrb.new()) DRb.thread.join end class IceDrb def message puts "message!" end end main