在mac lion上安装rmagick

时间:2013-01-02 03:32:20

标签: imagemagick rmagick

在其上找到很多帖子,并按照他们的说法进行操作,但对我不起作用。

我做了什么

brew install imagemagick gem install 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.

由于

1 个答案:

答案 0 :(得分:2)

在这里你会找到答案。我有同样的问题,这完全解决了!

Rails and OS X: How to install rmagick?