recover rubygems patch from ab2c93a