From a959342abf3c77fc5f08a91107f5f27cfe1766a7 Mon Sep 17 00:00:00 2001 From: David Rodriguez Date: Mon, 11 Oct 2021 12:43:07 +0200 Subject: [rubygems/rubygems] Remove comment that seems no longer accurate We require things inline or autoload them for efficiency and to avoid as much as possible conflicting with user's choice of gems. But I removed the require and observed no deadlocks when activating gems. https://github.com/rubygems/rubygems/commit/7d6333e842 --- lib/rubygems/source/git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rubygems/source') diff --git a/lib/rubygems/source/git.rb b/lib/rubygems/source/git.rb index 9876adc24e..95dee9b883 100644 --- a/lib/rubygems/source/git.rb +++ b/lib/rubygems/source/git.rb @@ -225,7 +225,7 @@ class Gem::Source::Git < Gem::Source # A hash for the git gem based on the git repository URI. def uri_hash # :nodoc: - require 'digest' # required here to avoid deadlocking in Gem.activate_bin_path (because digest is a gem on 2.5+) + require 'digest' normalized = if @repository =~ %r{^\w+://(\w+@)?} -- cgit v1.2.3