Installing RMagick gem — Can't find MagickWand.h

前端 未结 9 1090
不知归路
不知归路 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 17:42

    I am on OS X El Capitan.

    My app is using ruby 2.1.2 and rmagick 2.13.4.

    When using brew install imagemagick I get ImageMagick -v 7.0.4-5.

    The solution for me was to use brew install imagemagick@6 which gave me ImageMagick -v 6.9.7-5 which allowed me to successfully install the gem.

提交回复
热议问题