Ack doesn't search through all files by default. I added some more common filetypes in my dot file.