fixed omrails to work on the mac