Installing RMagick gem — Can't find MagickWand.h

前端 未结 9 1173
不知归路
不知归路 2020-12-16 17:19

I am installing the rmagick gem on OSX 10.6.8, using gem install rmagick, and I am getting the following error

    Can\'t install RMagick 2.13.1         


        
9条回答
  •  再見小時候
    2020-12-16 18:03

    The only thing that worked for me on OSX El Capitan (10.11.6) was cloning this repository:

    https://github.com/zagros/imagemagick-rmagic-el-captian

    And following compile steps for each library described on that github page, but with slight modification.

    The imagemagick itself in stuff folder is already compiled and lacks configure script, so I took other image magick from stuff sierra extracted it and compiled, installed and after that gem install rmagick worked.

提交回复
热议问题