mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	[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.
7d6333e842
			
			
This commit is contained in:
		
							parent
							
								
									9fbf3a1f6f
								
							
						
					
					
						commit
						a959342abf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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+@)?}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue