If You do use awesome :) Paperclip library, and on application served by Passenger You get errors like:
Avatar /tmp/stream.1170.0 is not recognized by the 'identify' command.
most probably Passenger does not have setup environment and is missing a path. On FreeBSD identify
is placed in /usr/local/bin
and AFAIR this path is not included by default in PATH. As result Passenger can not find this utility.
You can try to setup environment for Passenger (Apache?) or just add in appropriate environment (in my case it was production.rb
):
Paperclip.options[:command_path] = "/usr/local/bin"
Leave a Reply