Avoid crash in ruby files