From fb1d4fa8889299675a2621d4b2f1ab2c5b08d6dc Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 22 Dec 2013 10:22:18 +0000 Subject: [PATCH] merge revision(s) 44330: [Backport #9279] * lib/rubygems.rb (module Gem): Fix comment for Gem::load_path_insert_index. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/rubygems.rb | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index d358a68608..153085fecb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Dec 22 19:22:01 2013 Eric Hodel + + * lib/rubygems.rb (module Gem): Fix comment for + Gem::load_path_insert_index. + Sun Dec 22 18:08:42 2013 NAKAMURA Usaku * win32/Makefile.sub (fake.rb): fixed wrong RUBY_PLATFORM, to correctly 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]