# File lib/rake/application.rb, line 549 549: def find_rakefile_location 550: here = Dir.pwd 551: while ! (fn = have_rakefile) 552: Dir.chdir("..") 553: if Dir.pwd == here || options.nosearch 554: return nil 555: end 556: here = Dir.pwd 557: end 558: [fn, here] 559: ensure 560: Dir.chdir(Rake.original_dir) 561: end