Installing rmagick on Ubuntu

后端 未结 15 2072
北恋
北恋 2020-12-02 05:38

I\'m trying to get RMagick setup on Ubuntu 10.04. Looked here but had no joy. I even compiled and installed ImageMagick from source, but the instructions here still didn\'t

15条回答
  •  感动是毒
    2020-12-02 06:07

    If you are using Linux then simply run these commands.

     sudo apt-get install imagemagick libmagickwand-dev
    

    and then

     bundle install
    

    Hope this will resolve your issue.

    And if you are using mac then simply run following commands

    First of all unlink your installed imagemagick which was not properly installed in latest mac high sierra by using.

     brew unlink imagemagick
    

    then install latest imagemagic6 using below command

     brew install imagemagick@6 && brew link imagemagick@6 --force
    

    Then install gem rmagick using below command

     gem install rmagick 
    
     bundle install
    

    It will work perfectly fine.

提交回复
热议问题