ruby-changes:26047
From: drbrain <ko1@a...>
Date: Sat, 1 Dec 2012 13:48:49 +0900 (JST)
Subject: [ruby-changes:26047] drbrain:r38104 (trunk): * lib/rubygems/specification.rb: Don't add default gems to $LOAD_PATH
drbrain 2012-12-01 13:48:36 +0900 (Sat, 01 Dec 2012) New Revision: 38104 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38104 Log: * lib/rubygems/specification.rb: Don't add default gems to $LOAD_PATH as they are already there. Modified files: trunk/ChangeLog trunk/lib/rubygems/specification.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 38103) +++ ChangeLog (revision 38104) @@ -1,3 +1,8 @@ +Sat Dec 1 13:48:13 2012 Eric Hodel <drbrain@s...> + + * 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@c...> * re-added r38053 that is reverted by r38061. Problems by r38053 Index: lib/rubygems/specification.rb =================================================================== --- lib/rubygems/specification.rb (revision 38103) +++ lib/rubygems/specification.rb (revision 38104) @@ -1244,6 +1244,8 @@ # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/