spawn ENOENT error

I'm trying to upload stuff to amazon s3 with the imager module. I keep getting the error message that says,

events.js:72
    throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

I've already installed imagemagick on my computer, but it keeps saying it's unlinked, could this be the problem? I also tried linking using brew link imagemagick, but it's unable to link for some reason. I'm using OSx. Any fixes?

Thanks.

Please make sure the ImageMagick exe is included as part of PATH environment variable.

Simply works on Ubuntu:

sudo apt-get install imagemagick