lib/rubygems/resolver.rb in rubygems-update-3.0.6 vs lib/rubygems/resolver.rb in rubygems-update-3.0.7

- old
+ new

@@ -122,10 +122,13 @@ def explain_list(stage) # :nodoc: return unless DEBUG_RESOLVER data = yield $stderr.printf "%10s (%d entries)\n", stage.to_s.upcase, data.size - PP.pp data, $stderr unless data.empty? + unless data.empty? + require 'pp' + PP.pp data, $stderr + end end ## # Creates an ActivationRequest for the given +dep+ and the last +possible+ # specification.