fix ruby install bug