ruby-changes:46576
From: naruse <ko1@a...>
Date: Sat, 13 May 2017 02:02:33 +0900 (JST)
Subject: [ruby-changes:46576] naruse:r58692 (trunk): show GEM_HOME
naruse 2017-05-13 02:02:25 +0900 (Sat, 13 May 2017) New Revision: 58692 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58692 Log: show GEM_HOME Modified files: trunk/test/rubygems/test_gem_gem_runner.rb Index: test/rubygems/test_gem_gem_runner.rb =================================================================== --- test/rubygems/test_gem_gem_runner.rb (revision 58691) +++ test/rubygems/test_gem_gem_runner.rb (revision 58692) @@ -6,8 +6,11 @@ ensure https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_gem_runner.rb#L6 if $! if Dir.exist?(ENV["GEM_HOME"]) require "find" - ary = Find.find(ENV["GEM_HOME"]).map{|l|puts l} - raise ary.inspect + ary = Find.find(ENV["GEM_HOME"]).to_a + raise <<eom +GEM_HOME: #{ENV["GEM_HOME"]} +contant: #{ary.inspect} +eom end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/