Fix Rails version requirements