I found to fail testcase on Ruby 2.2 used attached patch named "rubygems-2613-ruby22.patch".
I created additional patch for broken test.
It replaced util_spec to malicious Gem::Specification instance and invoke Gem::Specification.reset and use Gem::Installer.new instead of Gem::Installer.at