Ruby 1.9.2 does not include '.' in the include path anymore

This commit is contained in:
Moritz Bunkus 2010-08-29 11:11:28 +02:00
parent 6ce57363f4
commit da3e7f2e91

View File

@ -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 }