Fix Ruby layouts for Linux and Mac.