mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
a07e0b139c
commit
ccc842878d
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Dec 22 11:31:14 2007 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* gem_prelude.rb: Place bin dir before lib dir so gem bin stubs work.
|
||||
|
||||
Sat Dec 22 11:05:44 2007 Jim Weirich <jim@tardis.local>
|
||||
|
||||
* lib/rake.rb (Rake): Added Rake and related libraries to the
|
||||
|
|
|
@ -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
|
||||
end # Gem::Enable
|
||||
|
|
Loading…
Add table
Reference in a new issue