upgrade ruby and imagemagick