PE solutions with Ruby