Dear, I am currently testing Heroku as a deployment platform. I have written a very simple Rails application, that works fine in production when running from my local machine, but that has a weird behaviour once running on Heroku.
The problem is the following: I use Paperclip to allow users uploading their profile picture, using Amazon S3 to store uploaded files. When running from my local machines, everything runs fine: The images get uploaded to my S3 bucket and are displayed on the web page. I pushed exactly the same application on Heroku (http://young-leaf-5066.heroku.com) but then, when the user uploads an image, it does not work: images are not saved to S3 bucket and the validation of the content_type fails (I get an error message telling me that the image is not a recognized format, although it is a regular JPG file, and the validation works fine with exactly the same file when run from local machine...). I posted yesterday a description of the problem on stackoverflow: http://stackoverflow.com/questions/9082532/paperclips3-works-locally-not-on-heroku but got no answers. I am using Paperclip 2.3.6 and Ruby 1.8.7 --> would it be a compatibility problem with these versions ? Do you have any ideas on how to fix this ? Many thanks for any answer you could provide, I have been searching the web for hours for a solution ... Best Regards, Olivier -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
