# File lib/rake/application.rb, line 466 466: def find_rakefile_location 467: here = Dir.pwd 468: while ! (fn = have_rakefile) 469: Dir.chdir("..") 470: if Dir.pwd == here || options.nosearch 471: return nil 472: end 473: here = Dir.pwd 474: end 475: [fn, here] 476: ensure 477: Dir.chdir(Rake.original_dir) 478: end