I\'m trying to install rmagick on my Mac OS X v10.9 (Mavericks) machine. However. I get this error
/usr/local/bin/Magick-config: line 41: pkg-confi
I had the same issue with Rmagick after upgrading to Maverick. This solved it:
brew uninstall pkg-config brew install pkg-config brew unlink pkg-config && brew link pkg-config
Reinstalling pkg-config solved the issue for me.
pkg-config
brew install pkg-config fixed this for me.
brew install pkg-config