Update rails and ruby versions in requirements.