[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: memoize to a file

Berger, Daniel

2/2/2006 3:43:00 PM

> -----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