Revert "Try to revert the test failure with Ruby CI"
This reverts commit 8b27c23b5d55bd707a89bb5d95d2bdba9e132c1a.
This commit is contained in:
parent
8b27c23b5d
commit
f1f27da6c4
@ -61,9 +61,13 @@ module Kernel
|
|||||||
|
|
||||||
spec = dep.to_spec
|
spec = dep.to_spec
|
||||||
|
|
||||||
Gem::LOADED_SPECS_MUTEX.synchronize do
|
if spec
|
||||||
|
if Gem::LOADED_SPECS_MUTEX.owned?
|
||||||
spec.activate
|
spec.activate
|
||||||
end if spec
|
else
|
||||||
|
Gem::LOADED_SPECS_MUTEX.synchronize { spec.activate }
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
private :gem
|
private :gem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user