Open zenspider opened 2 years ago
Come to think of it... this just doesn't make sense:
::Marshal.load(key.start_with?(@prefix))
Hey, thanks for the report. I've got covid right now, but will take a look at this when I can. If you work out how to fix this a PR would be most welcome
On rails boot we've got a bunch of stuff loading and normally everything works fine. HOWEVER, whenever I try to debug something by running rails boot via
ruby -d
(aka$DEBUG = true
), rails bootstrap blows out thusly:I don't know if debug mode is changing the args going to that string format, or if debug mode is disabling something that's swallowing this exception and it is happening all the time.
I've doped the run to print out the format string:
vs:
So I think since the last marshal line doesn't have
%s
on both sides, I suspect someone is swallowing that exception.It LOOKS like this is being hit:
and the result of that doesn't have a
%s
and gets passed to format.