Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ntamvl/dfce915316e935c4bec8460ae0b2b074 to your computer and use it in GitHub Desktop.
Save ntamvl/dfce915316e935c4bec8460ae0b2b074 to your computer and use it in GitHub Desktop.
[Resolved In Mac OSX Sierra] Can't install RMagick 2.13.1. Can't find MagickWand.h.

[Resolved] Can't install RMagick 2.13.1. Can't find MagickWand.h

In Mac OSX Sierra, to solve the issue, I had to do the following:

Clean:

brew uninstall imagemagick
brew unlink imagemagick

Then install:

brew install pkgconfig
brew install imagemagick@6
brew link imagemagick@6 --force

Install gem rmagick

PKG_CONFIG_PATH=/usr/local/opt/imagemagick@6/lib/pkgconfig gem install rmagick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment