зеркало из https://github.com/github/ruby.git
Revert "Try to revert the test failure with Ruby CI"
This reverts commit 8b27c23b5d
.
This commit is contained in:
Родитель
8b27c23b5d
Коммит
f1f27da6c4
|
@ -61,9 +61,13 @@ module Kernel
|
|||
|
||||
spec = dep.to_spec
|
||||
|
||||
Gem::LOADED_SPECS_MUTEX.synchronize do
|
||||
spec.activate
|
||||
end if spec
|
||||
if spec
|
||||
if Gem::LOADED_SPECS_MUTEX.owned?
|
||||
spec.activate
|
||||
else
|
||||
Gem::LOADED_SPECS_MUTEX.synchronize { spec.activate }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
private :gem
|
||||
|
|
Загрузка…
Ссылка в новой задаче