Last active
October 16, 2017 21:37
-
-
Save wbotelhos/0c5e4f2933d1d68d8c947422bc68244e to your computer and use it in GitHub Desktop.
Can't install RMagick. Can't find MagickWand.h.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export C_INCLUDE_PATH=/usr/local/Cellar/imagemagick/7.0.7-7/include/ImageMagick-7 | |
export PKG_CONFIG_PATH=/usr/local/Cellar/imagemagick/7.0.7-7/lib/pkgconfig | |
gem install rmagick | |
# if it fails, use imagemagick 6 | |
brew uninstall imagemagick # all of them | |
brew install imagemagick@6 | |
brew link imagemagick@6 --force | |
gem install rmagick | |
# or maybe you need to set your path | |
export PATH="${PATH}:/usr/local/opt/imagemagick@6/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment