mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 10:03:59 +02:00
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
This commit is contained in:
parent
4057bf0ce6
commit
fb1d4fa888
2 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Dec 22 19:22:01 2013 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* lib/rubygems.rb (module Gem): Fix comment for
|
||||||
|
Gem::load_path_insert_index.
|
||||||
|
|
||||||
Sun Dec 22 18:08:42 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
Sun Dec 22 18:08:42 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* win32/Makefile.sub (fake.rb): fixed wrong RUBY_PLATFORM, to correctly
|
* win32/Makefile.sub (fake.rb): fixed wrong RUBY_PLATFORM, to correctly
|
||||||
|
|
|
@ -568,11 +568,8 @@ module Gem
|
||||||
end
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
# The index to insert activated gem paths into the $LOAD_PATH.
|
# The index to insert activated gem paths into the $LOAD_PATH. The activated
|
||||||
#
|
# gem's paths are inserted before site lib directory by default.
|
||||||
# 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.
|
|
||||||
|
|
||||||
def self.load_path_insert_index
|
def self.load_path_insert_index
|
||||||
index = $LOAD_PATH.index ConfigMap[:sitelibdir]
|
index = $LOAD_PATH.index ConfigMap[:sitelibdir]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue