get ruby commands working cross platform