mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
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:
parent
0280d1fb9a
commit
d7181f726f
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ class Gem::Specification < Gem::BasicSpecification
|
||||||
unless defined?(@@all) && @@all then
|
unless defined?(@@all) && @@all then
|
||||||
@@all = stubs.map(&:to_spec)
|
@@all = stubs.map(&:to_spec)
|
||||||
if @@all.any?(&:nil?) # TODO: remove once we're happy
|
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
|
end
|
||||||
|
|
||||||
# After a reset, make sure already loaded specs
|
# After a reset, make sure already loaded specs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue