Send picture from iPhone

The rails output shows:

[paperclip] An error was received while processing:

#<Paperclip::NotIdentifiedByImageMagickError: /var/folders/pD/

pDBak1ufEeSHluZ8kAougU+++TI/-Tmp-/stream20100721-4816-1pbpnnn-0 is not

recognized by the ‘identify’ command.>

What is the best way to do this?

The normal cause of that problem in my experience (and I’ve had it a few times) is that ‘identify’ isn’t in the path for the Rails process.

The easiest solution is to go to the server and type “which identify” then put the path in the config/environments/production.rb file (or whatever your environment it):

Paperclip.options[:image_magick_path] = ‘/foo/bar/bin/’