When I upload a photo, my model fails validation, err well even without any validations I\'m returned this error:
/tmp/stream20100103-13830-ywmerx-0 is not r
You will also get this error message if you try to upload a file that contains colons in it's name as of the latest version.
This worked fromhttp://arglebargle.posterous.com/path-environment-variable-for-rails-using-pas
Put something like this in the VirtualHost (or wherever passenger is set up):
SetEnv PATH /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/mysql/bin