diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-22 01:16:22 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-22 01:16:22 +0000 |
commit | 67ec75152ef22b027bf083a0f4df982ffacef17a (patch) | |
tree | ebf2b41e25266f640fa6dffef3a710c0bb867696 | |
parent | 06e2b610e5a044f3b919a6ceb849a6ff9bfe6dcc (diff) | |
download | ruby-67ec75152ef22b027bf083a0f4df982ffacef17a.tar.gz |
* lib/rubygems.rb (module Gem): Fix comment for
Gem::load_path_insert_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/rubygems.rb | 7 |
2 files changed, 7 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Sun Dec 22 10:16:08 2013 Eric Hodel <drbrain@segment7.net> + + * lib/rubygems.rb (module Gem): Fix comment for + Gem::load_path_insert_index. + Sun Dec 22 04:07:55 2013 Koichi Sasada <ko1@atdot.net> * gc.c (ruby_gc_set_params): don't show obsolete warnings for 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] |