I am using
incompatible marshal file format (can't be read)
format version 4.8 required; 45.45 given
Maybe just rescue from the error?
begin Marshal.load("foobar") rescue TypeError # not a marshalled object, do something else puts "warning: could not load ..." end