# File lib/rake.rb, line 1218 1218: def load_rakefile 1219: here = Dir.pwd 1220: while ! have_rakefile 1221: Dir.chdir("..") 1222: if Dir.pwd == here || @nosearch 1223: fail "No Rakefile found (looking for: #{RAKEFILES.join(', ')})" 1224: end 1225: here = Dir.pwd 1226: end 1227: puts "(in #{Dir.pwd})" unless $silent 1228: $rakefile = @rakefile 1229: load @rakefile 1230: load_imports 1231: end