Handle RVM on scripts