1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Show garbages if requiring gem_runner is failed

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2017-05-10 19:19:38 +00:00
parent 9008d54b12
commit d845b4f294

View file

@ -1,6 +1,15 @@
# frozen_string_literal: true
require 'rubygems/test_case'
require 'rubygems/gem_runner'
begin
require 'rubygems/gem_runner'
ensure
if $!
if Dir.exist?(ENV["GEM_HOME"])
require "find"
Find.find(ENV["GEM_HOME"]).each{|l|puts l}
end
end
end
class TestGemGemRunner < Gem::TestCase