do gem update first, it's the quickest & sudo will run out if it's at the end