Greg Willits wrote:
> Berkely DB has been sucked up by Oracle, and I don't think it ever ran 
> on OS X anyway.

OS X, eh? First, check the MacPorts project (http://macports.org) and 
search for the db44 or db46 ports for your Berkley DB. Second, even 
though it's in an early development stage, you might want to look into 
MacRuby (http://ruby.macosforge.org). In MacRuby, every Ruby object is 
also a subclass of NSObject, so in theory you should be able to use all 
of the same NSData read/write operations as Cocoa objects. It may well 
be that restoring MacRuby objects written out in this way doesn't 
currently work (haven't had a chance to try it myself...yet), but in 
that case, you could at least file a bug with the project.

-- 
Posted via http://www.ruby-forum.com/.