Problem installing RMagick rubygem on Centos 5

前端 未结 7 607
一生所求
一生所求 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 07:58

    kept getting this error after following the instructions in the most voted answer:

    RMagick: unable to read font `(null)'.
    

    so I have something to add to step 7, taken from an update to David Bock's blog:

    http://blog.codesherpas.com/on_the_path/2009/09/installing-centos-5-imagemagick-and-rmagick-september-2009-edition.html

    gem install rmagick -v 1.15.17 --no-rdoc --no-ri -- --disable-htmldoc
    

    disabling html-documentation is crucial for avoiding further errors if your font files make rmagick unhappy. Just the outcome of about 2 hours of struggling with this issue.

提交回复
热议问题