Ruby-on-rails – Paperclip Error

paperclipruby-on-rails

I'm getting the following error in my development.log

[paperclip] An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream28514-0 is not recognized by the 'identify' command.>

And i've googled about this error and i found out that many people have solved this by adding this line
Paperclip.options[:command_path] = "/usr/local/bin"

However, i still get the same error even after adding that line! I've tried everything possible!

Any help would be highly appreciated!

Regards,

Punit

Best Answer

The Paperclip.options[:command_path] setting is for the location of your ImageMagick executables (in this case identify). Try running which identify and setting the option to be the directory that is returned. If that command doesn't return anything, make sure that ImageMagick is properly installed.

Related Topic