diff options
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r-- | lib/rubygems.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb index 5e106c7976..77311734a2 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -568,11 +568,8 @@ module Gem end ## - # The index to insert activated gem paths into the $LOAD_PATH. - # - # Defaults to the site lib directory unless gem_prelude.rb has loaded paths, - # then it inserts the activated gem's paths before the gem_prelude.rb paths - # so you can override the gem_prelude.rb default $LOAD_PATH paths. + # The index to insert activated gem paths into the $LOAD_PATH. The activated + # gem's paths are inserted before site lib directory by default. def self.load_path_insert_index index = $LOAD_PATH.index ConfigMap[:sitelibdir] |