ruby-changes:46527
From: naruse <ko1@a...>
Date: Wed, 10 May 2017 16:23:12 +0900 (JST)
Subject: [ruby-changes:46527] naruse:r58648 (trunk): confirm current process equals to gemhome's pid
naruse 2017-05-10 16:23:06 +0900 (Wed, 10 May 2017) New Revision: 58648 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58648 Log: confirm current process equals to gemhome's pid Modified files: trunk/lib/rubygems/specification.rb Index: lib/rubygems/specification.rb =================================================================== --- lib/rubygems/specification.rb (revision 58647) +++ lib/rubygems/specification.rb (revision 58648) @@ -724,7 +724,7 @@ class Gem::Specification < Gem::BasicSpe https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L724 unless defined?(@@all) && @@all then @@all = stubs.map(&:to_spec) if @@all.any?(&:nil?) # TODO: remove once we're happy - raise "nil spec! included in #{stubs.inspect}" + raise "pid: #{$$} nil spec! included in #{stubs.inspect}" end # After a reset, make sure already loaded specs -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/