Upgrade rails and ruby