From da3e7f2e91ecc2c86f87895216f4c8e1246daab3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 29 Aug 2010 11:11:28 +0200 Subject: [PATCH] Ruby 1.9.2 does not include '.' in the include path anymore --- rake.d/vendor/drake-0.8.7.0.2.4/bin/drake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rake.d/vendor/drake-0.8.7.0.2.4/bin/drake b/rake.d/vendor/drake-0.8.7.0.2.4/bin/drake index cd34ed003..54edbde56 100755 --- a/rake.d/vendor/drake-0.8.7.0.2.4/bin/drake +++ b/rake.d/vendor/drake-0.8.7.0.2.4/bin/drake @@ -22,6 +22,8 @@ # IN THE SOFTWARE. #++ +$: << '.' + Dir.glob(File.dirname(File.dirname(File.dirname(__FILE__))) + "/*/lib").each { |dir| $:.unshift dir } Dir.glob(File.dirname(__FILE__) + "/rake.d/vendor/*/lib").each { |dir| $:.unshift dir }