Modify condition to run ruby install