read
So i’ve problem when installing rmagick gem in macosx yosemite, although i’ve installed imagemagick on my system. The problem exists when bundler try to install rmagick gem and having trouble finding MagickWand.h for building native extension.
This problem can be solved by tell explicitly to rmagick where the path of imagemagick headers file with providing configuration options on gem installation, for example like,
But this problem could be solve easily by installing pkgconfig first before installing imagemagick. So now you can install pkgconfig first and reinstall the imagemagick. If you’re using Homebrew
Now after reinstallation, you can easilly install rmagick gem as usual gem install rmagick