mac and ruby setting