# File lib/rake/application.rb, line 460
460:     def find_rakefile_location
461:       here = Dir.pwd
462:       while ! (fn = have_rakefile)
463:         Dir.chdir("..")
464:         if Dir.pwd == here || options.nosearch
465:           return nil
466:         end
467:         here = Dir.pwd
468:       end
469:       [fn, here]
470:     ensure
471:       Dir.chdir(Rake.original_dir)
472:     end