Paperclip/ImageMagick/RMagick error: “is not recognized by the ‘identify’ command”

December 30th, 2009 by e-thang Leave a reply »

If you’re using the above combination, and you’re getting the above error, make sure that you’ve configured Paperclip to find ImageMagick in the right place.  Create an initializer file, RAILS_ROOT/config/intializers/paperclip.rb, and put “Paperclip.options[:image_magick_path] = ‘path/to/image_magic’” inside of it.  On Mac or a *nix system, type “which identify” to find the right folder.

Big thanks to avit on this forum for the solution.

Advertisement

4 comments

  1. fernando says:

    thanks for this info, paperclip guys should try to solve this

  2. e-thang says:

    I agree. The error message really doesn’t help in figuring out the problem.

  3. In my case… sudo apt-get install imagemagick –fix-missing on Ubuntu. I guess I was missing ImageMagick on the server.

  4. e-thang says:

    For the longest time I thought Paperclip used RMagick. So I spent a long time trying to figure out how to install it. All for naught. :) Glad you got it working.

Leave a Reply