a simple util for hacking rails on windows
found_files = Dir.glob( ARGV[0] + "/**/*.rb") serach_pattern = Regexp.new( ARGV[1] ) for entry in found_files file = File.new(entry,"r") line_count=0 file.readlines.each { |line| line_count+=1 puts "#{entry}[#{line_count}]:#{line}" if serach_pattern.match(line) } end