More universal hack for new rubies