找到很多关于它的帖子并按照他们所说的但对我不起作用。
我做了什么
酿造安装 imagemagick 宝石安装 rmagick
它向我显示以下错误
checking for Ruby version >= 1.8.5... yes
checking for /usr/local/bin/gcc-4.2... yes
checking for Magick-config... yes
checking for ImageMagick version >= 6.3.5... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... yes
checking for InitializeMagick() in -lMagickCore... no
checking for InitializeMagick() in -lMagick... no
Can't install RMagick 2.12.0. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information.
谢谢