ruby support phase I