From: "Berger, Daniel" Date: 2006-02-03T00:43:23+09:00 Subject: Re: memoize to a file > -----Original Message----- > From: Brian Buckley [mailto:briankbuckley@gmail.com] > Sent: Wednesday, February 01, 2006 4:15 PM > To: ruby-talk ML > Subject: Re: memoize to a file > > > > > > That is odd. I've run it on Windows with no trouble in the > past. Is > > it possible you ran this program using 1.8.2, downloaded > 1.8.4, then > > re-ran the same code using the same cache? It would fail with that > > error if such is the case, since Marshal is not compatible between > > versions of Ruby - not even minor versions. > > > I have been on 1.8.2 on Windows straight through. Mauricio's > suggestion of File.open instead of File.read made it work for > me (see other posts). > > Brian I have applied that patch along with Andrew Johnson's refactoring. I should have a release out soon. Regards, Dan