Error installing rmagick: ERROR: Failed to build gem native extension

后端 未结 19 2894
眼角桃花
眼角桃花 2020-12-04 15:09

I am trying to run one project on my local machine. I installed Ruby and Rails on my Mac OS system. It is working properly. I can create a new project and can run it properl

19条回答
  •  温柔的废话
    2020-12-04 15:58

    For linux fedora, i got same error and fixed with below two commands:

    yum install ImageMagick
    
    gem install rmagick 
    

    For Centos install ImageMagick-devel package. using below commands:

    yum install ImageMagick-devel
    
    gem install rmagick
    

    Thanks.

提交回复
热议问题