summaryrefslogtreecommitdiff
path: root/gem_prelude.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-22 02:32:18 (GMT)
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-22 02:32:18 (GMT)
commitccc842878dd4a41efd960e37822f354b881f13d6 (patch)
tree47b99a848963120506d81bbd4f001f57c427210d /gem_prelude.rb
parenta07e0b139cf1a72b96f849fb4f77d475cc3d2247 (diff)
Place bin dir before lib dir so gem bin stubs work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gem_prelude.rb')
-rw-r--r--gem_prelude.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gem_prelude.rb b/gem_prelude.rb
index 88ffe17..d2c54d3 100644
--- a/gem_prelude.rb
+++ b/gem_prelude.rb
@@ -152,8 +152,8 @@ module Gem
if File.exist?(File.join(path, ".require_paths"))
require_paths.concat(File.read(File.join(path, ".require_paths")).split.map {|require_path| File.join(path, require_path)})
else
- require_paths << File.join(path, "lib") if File.exist?(File.join(path, "lib"))
require_paths << File.join(path, "bin") if File.exist?(File.join(path, "bin"))
+ require_paths << File.join(path, "lib") if File.exist?(File.join(path, "lib"))
end
end
@@ -186,4 +186,4 @@ rescue Exception => e
end
#puts "Gem load in #{Time.now - t} seconds"
-end # Gem::Enable \ No newline at end of file
+end # Gem::Enable