From: "Albert L. Wagner" Date: 2001-12-11T23:09:13+09:00 Subject: [ruby-talk:28219] Re: DBI and large result sets ts wrote: > > >>>>> "A" == Albert L Wagner writes: > > A> `load': marshal data too short (ArgumentError) > > You see this message when the db file was not created with 'marshal' => > true. > > You must first create it with 'marshal' => true then always open it with > this argument. Ah, hah. That's what I'm doing wrong. The files must be _created_ with marshal. Thanks a million, guy. The code sure looks cleaner this way. > > A> However, explicit Marshal works fine. Is this a feature that > A> requires a different bdb than what I have?: bdb 0.2.5 and Ruby > A> 1.6.5 > > It's best to use bdb-0.2.7 because it correct a stupig bug that I've > introduced in 0.2.6 and it has the interface for the new version of > Berkeley DB (4.0.14) > > Guy Decoux -- "It requires wisdom to understand wisdom: the music is nothing if the audience is deaf." - Walter Lippman