Last Updated: February 25, 2016
·
1.141K
· samsonasu

install rmagick on osx with homebrew

Just posting this here because it takes me like 10 google searches to find it every time I need it

first run this to find the right directory:

mdfind MagickWand.h

then run this in the correct rvm gemset, with the paths replaced from the result:

PKG_CONFIG_PATH=/usr/local/Cellar/imagemagick/6.8.7-0/lib/pkgconfig C_INCLUDE_PATH=/usr/local/Cellar/imagemagick/6.8.7-0/include/ImageMagick-6/ gem install rmagick