Try to revert the test failure with Ruby CI
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20191111T093005Z.fail.html.gz
This commit is contained in:
parent
9d3213ac85
commit
8b27c23b5d
@ -61,13 +61,9 @@ module Kernel
|
|||||||
|
|
||||||
spec = dep.to_spec
|
spec = dep.to_spec
|
||||||
|
|
||||||
if spec
|
Gem::LOADED_SPECS_MUTEX.synchronize do
|
||||||
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