paperclip - imagemagick Configuration

I'm not sure what changed, but I started getting errors from the paperclip plugin:

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

I have verified the command path is correct. What else should I be checking?

Thanks! Tom

I figured it out! I was setting my options like this (which used to work):

Paperclip::Attachment.default_options.merge!(:command_path => "/usr/ local/bin")

But I noticed others using this method, which solved my problem!

Paperclip.options.merge!(:command_path => "/usr/local/bin")

I hope this helps someone else!

Thanks, Tom

Also for other peoples benefit:

For windows, make sure you close down the rails server and any command prompt instances and restart them. The imagemagick install path in program files (the folder containing identify.exe) needs to be accessible in the PATH variable. To check type echo %PATH% in the command prompt. If the imagemagick installation folder shows, the rails app should function.

This did the trick for me! Thanks for sharing!