Problem installing RMagick rubygem on Centos 5

前端 未结 7 554
一生所求
一生所求 2021-02-01 07:02

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:

         


        
相关标签:
7条回答
  • 2021-02-01 08:03

    rmagick is notoriously difficult to install due to dependencies on other packages etc. I've just been through this game on Ubuntu and the trick was simply to install the right packages, including dev packages etc. I'm not familiar with CentOS but somebody will probably chime in with the right packages for that.

    If all else fails, building and installing ImageMagick from source can usually be made work.

    Edit: Looking at a related question, I see the following:

    On some platforms (CentOS 5.2), I have had to install specific versions of RMagick because the default repositories for my package manager (yum) only had old versions of the RMagick devel libraries. I installed this version via:

    gem install rmagick -v 1.15.13
    
    0 讨论(0)
提交回复
热议问题