upgrade ruby and https rubygems