upgrading rails and ruby version