mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems/specification.rb: Don't add default gems to $LOAD_PATH
as they are already there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f593911dbe
commit
6e46c04850
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Dec 1 13:48:13 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems/specification.rb: Don't add default gems to $LOAD_PATH
|
||||
as they are already there.
|
||||
|
||||
Sat Dec 1 12:22:17 2012 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* re-added r38053 that is reverted by r38061. Problems by r38053
|
||||
|
|
|
@ -1244,6 +1244,8 @@ class Gem::Specification
|
|||
# Adds this spec's require paths to LOAD_PATH, in the proper location.
|
||||
|
||||
def add_self_to_load_path
|
||||
return if default_gem?
|
||||
|
||||
paths = require_paths.map do |path|
|
||||
File.join full_gem_path, path
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue