setup ruby motion