update-gems: Made a stand-alone script

Minor changes to give better feedback.