From: Mark Probert Date: 2005-03-30T04:10:35+09:00 Subject: Re: FreeBSD Rubyists? Do Remote Objects work for you? Hi .. On Tuesday 29 March 2005 08:44, Miles Keaton wrote: > > I think Ruby in FreeBSD freezes when receiving a reference to a remote > object. > Worked fine on my FreeBSD (5.3-RELEASE) with ruby 1.8.2 (2004-12-25) [i386-freebsd5.3] with a Win2k client. > Can you please try the code-sample, here? I needed to modify this code to make it work correctly. The code as posted won't be able to write the logger to a non-existing directory (/tmp/dlog). Change the logger.initialize to look something like (require 'ftools'): def initialize(n, dir, fname) @name = n File.makedirs(dir) @filename = dir + "/" + fname end With the appropriate change in the Factory creation did the trick for me. > > Is this a Ruby bug or a FreeBSD threads-bug? > If it is still a problem, the next question would be about the kernel you are running. Is it the standard kernel or has it been modified? If so, how? HTH, -- -mark. (probertm at acm dot org)