Update Rails version and other gems.