Add missing encoding directive to ruby files