Try and update rubygems before building

need fix for https://github.com/rubygems/rubygems/issues/498