Last Updated: February 25, 2016
·
374
· Lenin Raj Rajasekaran

Installing rmagick gem on Mac Mountain Lion

Follow the steps below to get rmagick gem on your Mac.

  • Install imagemagick using homebrew
  • Install pkgconfig using homebrew
  • Install ghostscript using homebrew
  • Find the path of MagickWand.h
    • mdfind MagickWand.h
  • Include that in CINCLUDEPATH and install rmagick gem
    • CINCLUDEPATH=/usr/local/Cellar/imagemagick/6.8.9-1/include/ImageMagick-6/ sudo gem install rmagick