From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2001-04-23T06:40:04+09:00 Subject: [ruby-talk:14035] Re: Distributed Ruby and heterogeneous networks In article <3ae3323d.134494793@news-server>, Harry Ohlsen wrote: >I wrote my first small distributed application yesterday and it worked >fine when both the server and client are running on the same >architecture, but fails if I run one on Linux and the other on Windows >2000 (irrespective of which is the client and which is the server). > >Does DRb only run on homogeneous networks? I can see what looks like >code to handle network byte ordering in the DRb source code, but >haven't delved too far into it yet. > >This is the latest version as downloaded from the web site. > >Note, however, that I'm running 1.6.2 (2000-12-18) on Windows 2000 and >a recent build of 1.7 on Linux. > In my experience you should be running the same version of Ruby and the same version of DRb on both client and server. DRb is very dependent on marshalling (serialization) and it seems that the way certain types of objects are marshelled changes in some of the newer versions of Ruby. Phil