I\'m having problems installing the RMagick rubygem on Centos 5. I\'ve followed the steps detailed in http://rmagick.rubyforge.org/install2-linux.html but when I try:
I got around this in RHEL 5.4
by temporarily symlinking /usr/local/bin/Magick-config
to /usr/bin/Magick-conf
, so the gem install could find this Magick-config executable.
In my case, I installed ImageMagick from source with --prefix=/usr/local
. For some reason, the gem install didn't want to look there for the config, even with gem install --local ../rmagick-2.12.2.gem -- -with-opt-dir=/usr/local/bin
. Running yum install ImageMagick-devel
would get the binary there, but then the gem install would say that ImageMagick was the wrong version.