confirm current process equals to gemhome's pid

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2017-05-10 07:23:06 +00:00
parent 0280d1fb9a
commit d7181f726f

View file

@ -724,7 +724,7 @@ class Gem::Specification < Gem::BasicSpecification
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