Can't install rmagick gem on Ubuntu 13.04

前端 未结 6 743
無奈伤痛
無奈伤痛 2021-02-06 07:33

When I try to install rmagic with:

gem install rmagic

it gives error:

Building native extensions.  This could take a while...
E         


        
6条回答
  •  被撕碎了的回忆
    2021-02-06 07:57

    Here is the good example on this blog

    The below command will solve your problem. It helped me to install rmagick.

    sudo apt-get install libdjvulibre-dev libjpeg-dev libtiff-dev libwmf-dev libmagickcore-dev libmagickwand-dev libmagick++-dev
    

提交回复
热议问题