I’ve got a serialized object that I am trying to read back in with
Marshal. When it reads the class back in, it complains with the
following message:
undefined class/module ;
This is running on windows. Under Mac OS X, everything works fine
(Note: I serialize and de-serialize on the same platform, so it’s not
a cross platform issue.)
Anyone have any clues as to why it is looking to resolve a class
called “;” from the serialized file?
Following up. I finally got back to this issue, and now everything
works fine.
I believe the problem may have had to do with reading and writing the
files that contained the marshalled objects without using the binary
flag.
Thanks for your help,
Bob
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.