For example, this is being produced on every puppet run: "WARN: Unresolved or ambiguous specs during Gem::Specification.reset: webrick (>= 0) Available/installed versions of this gem: - 1.7.0 - 1.4.4 WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>' Please report a bug if this causes problems." infra hosts are using ruby-2.6, which seems to bundle webrick-1.7.0, the first version of the above warning: $ qfile /usr/lib64/ruby/gems/2.6.0/specifications/webrick-1.7.0.gemspec dev-ruby/webrick: /usr/lib64/ruby/gems/2.6.0/specifications/webrick-1.7.0.gemspec But also seems to be bundling at least a .gemspec for webrick-1.4.4, which is the second version in the above warning: $ qfile /usr/lib64/ruby/gems/2.6.0/specifications/default/webrick-1.4.4.gemspec dev-lang/ruby: /usr/lib64/ruby/gems/2.6.0/specifications/default/webrick-1.4.4.gemspec Adjacently, we also have dev-ruby/webrick-1.7.0 installed.
This is a ruby-2.6 issue and that's gone from ::gentoo now. Anyway, Alec removed the problematic gemspecs and that seems to have fixed the problem.