可能重复:
ImageMagick / RMagick - 无法安装 RMagick 2.13.1。找不到 Magick 配置
当我尝试运行我的开发控制台(MAC OS X / Snow Leopard)时出现以下错误。有谁知道解决方案?
/usr/local/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.1. Can't find Magick-config in .:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.