drb'ing ruby'ists-

i am confused (in general, but especially on this topic) :

i was under the impression that if one was to NOT include DRbUndumped in a
class that client's using the class remotely would be required to load any
client libraries.  if that is the case, then this would not work, and yet it
does?

~/eg/ruby/dpostgres > cat s.rb && s.rb

#!/usr/bin/env ruby
require 'postgres'
require 'drb'
DRb.start_service 'druby://localhost:5000', PGconn.new
DRb.thread.join


~/eg/ruby/dpostgres > cat c.rb && c.rb

#!/usr/bin/env ruby
require 'drb'
DRb.start_service
pgconn = DRbObject.new nil, 'druby://localhost:5000'
pgresult = pgconn.exec (ARGV.shift or 'select * from foo')
p pgresult.result
pgresult.clear

[["2003-02-04 10:23:34.522356-07", "2003-02-05 00:00:00-07"]]


note that the client does __NOT__ do "require 'postgres'" ???

very confused.

-a

-- 

 ====================================
 | Ara Howard
 | NOAA Forecast Systems Laboratory
 | Information and Technology Services
 | Data Systems Group
 | R/FST 325 Broadway
 | Boulder, CO 80305-3328
 | Email: ahoward / fsl.noaa.gov
 | Phone:  303-497-7238
 | Fax:    303-497-7259
 ====================================