mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Try to revert the test failure with Ruby CI
20191111
T093005Z.fail.html.gz
This commit is contained in:
parent
9d3213ac85
commit
8b27c23b5d
1 changed files with 3 additions and 7 deletions
|
@ -61,13 +61,9 @@ module Kernel
|
|||
|
||||
spec = dep.to_spec
|
||||
|
||||
if spec
|
||||
if Gem::LOADED_SPECS_MUTEX.owned?
|
||||
spec.activate
|
||||
else
|
||||
Gem::LOADED_SPECS_MUTEX.synchronize { spec.activate }
|
||||
end
|
||||
end
|
||||
Gem::LOADED_SPECS_MUTEX.synchronize do
|
||||
spec.activate
|
||||
end if spec
|
||||
end
|
||||
|
||||
private :gem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue