Add ruby platform check script.