class Rake::Application

def raw_load_rakefile # :nodoc:

:nodoc:
def raw_load_rakefile # :nodoc:
  here = Dir.pwd
  while ! have_rakefile
    Dir.chdir("..")
    if Dir.pwd == here || options.nosearch
      fail "No Rakefile found (looking for: #{@rakefiles.join(', ')})"
    end
    here = Dir.pwd
  end
  puts "(in #{Dir.pwd})" unless options.silent
  $rakefile = @rakefile
  load File.expand_path(@rakefile) if @rakefile != ''
  options.rakelib.each do |rlib|
    Dir["#{rlib}/*.rake"].each do |name| add_import name end
  end
  load_imports
end