[rubygems/rubygems] Add a comment to explain default gem activation
https://github.com/rubygems/rubygems/commit/291128268f
This commit is contained in:
parent
74e5665ec1
commit
8044e57907
@ -39,6 +39,9 @@ module Kernel
|
||||
RUBYGEMS_ACTIVATION_MONITOR.synchronize do
|
||||
path = File.path(path)
|
||||
|
||||
# If +path+ belongs to a default gem, we activate it and then go straight
|
||||
# to normal require
|
||||
|
||||
if spec = Gem.find_unresolved_default_spec(path)
|
||||
# Ensure -I beats a default gem
|
||||
resolved_path = begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user