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