The executable command on Mac OSX is 'ack' rather than 'ack-grep'.

I have tested it on my Mac, and Ubuntu 14.04 in the virtual box.