rmagick 安装的问题

在Fedora下,安装RMAGICK出现的以下问题

Building native extensions.  This could take a while...
ERROR:  Error installing rmagick:
    ERROR: Failed to build gem native extension.

/usr/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

 

缺少了ImageMagick-devel库

用yum install ImageMagick-devel即可

你可能感兴趣的:(gcc,Ruby)