すべて! CentOS 5.5サーバーにrmagick gemをインストールする際に問題があります。私は、コマンド発行時:RMagickインストールエラー
gem install rmagick
を私が得た:
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/bin:/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.
私は正しいバージョンのImageMagickのをインストールしている、とは/ usr/local/binに、私のPATHは、そのディレクトリを含んで、私は魔術-config設定を見つけます。しかし、rmagick gemインストーラはMagick-configのためにそのディレクトリを検索しません。私は何をすべきか?
ところで、Rubyとrmagickをインストールしている別のCentOS 5マシンがあり、後者は/ usr/local/binにMagick-configファイルもあります。
/usr/binの/ usr/local/bin/Magic-configにソフトリンクを作成しましたが、問題はなくなりました。それは良い方法ではないようです。 – Robert