Update Rails version and gems