set the path correctly for ruby