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:
parent
9008d54b12
commit
d845b4f294
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue