Installing RMagick gem — Can't find MagickWand.h

前端 未结 9 1202
不知归路
不知归路 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:50

    I wasted a lot of time on this, ImageMagick versions above 6.7 don't play nicely with the installation of the rmagick gem. It looks like someone made a package to address this issue, try:

    brew install imagemagick-ruby186
    

    After uninstalling your previous imagemagick. Afterwards gem install rmagick worked fine for me.

提交回复
热议问题