simplify ruby install hook