All of a sudden started getting “Could Not Run The `Identify` Command. Please Install ImageMagick.”

前端 未结 8 1121
难免孤独
难免孤独 2021-02-02 09:01

I\'ve had ImageMagick, RMagick, & PaperClip working properly with everything setup including the config Paperclip.options[:command_path] in production.rb<

8条回答
  •  礼貌的吻别
    2021-02-02 09:33

    You can type

    which convert and which identify

    to check whether imagemagick is installed properly.

    In my case, which convert returns /usr/local/bin/convert but identify not found.

    I used brew install imagemagick before, so I run it again and return imagemagick already installed, it's just not linked.

    Finally got the point, brew link imagemagick(or brew link --overwrite imagemagick)

    Don't forget to add the Paperclip.options[:command_path] = "/usr/local/bin/" to your config/environment.rb file.

提交回复
热议问题