diff options
Diffstat (limited to 'lib/rake/application.rb')
-rw-r--r-- | lib/rake/application.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rake/application.rb b/lib/rake/application.rb index 50930938bf..54796312d8 100644 --- a/lib/rake/application.rb +++ b/lib/rake/application.rb @@ -2,6 +2,7 @@ require 'shellwords' require 'optparse' require 'rake/task_manager' +require 'rake/file_list' require 'rake/thread_pool' require 'rake/thread_history_display' require 'rake/win32' @@ -204,7 +205,7 @@ module Rake def have_rakefile @rakefiles.each do |fn| if File.exist?(fn) - others = Rake.glob(fn, File::FNM_CASEFOLD) + others = FileList.glob(fn, File::FNM_CASEFOLD) return others.size == 1 ? others.first : fn elsif fn == '' return fn @@ -609,7 +610,7 @@ module Rake end def glob(path, &block) - Rake.glob(path.gsub("\\", '/')).each(&block) + FileList.glob(path.gsub("\\", '/')).each(&block) end private :glob |