Making output the same for all Ruby versions