I am trying to upload an image through the wen interface. I am using CarrierWave. It works just fine on my local window machine. On heroku i get the following errore message: Errno::EACCES (Permission denied - /app/bboads/tmp):
Asked
Active
Viewed 2,764 times
1 Answers
3
I think you are trying to upload the picture to your public/
folder. Heroku doesn't let you do this. You need to create a bucket on Amazon's S3 service and upload to that.
-
That is what i am trying to do. Thanks you so much. So there is no way of uploading files to Heroku? – user663778 Mar 19 '11 at 17:50
-
no, you cannot upload to heroku's server. You have to use Amazon or another storage service. If you need more info just google it or post a comment and I can give you a link. – thenengah Mar 20 '11 at 21:24
-
yes you can do it. you need to add 'def cache_dir' per the current carrierwave readme, or described here http://pardner.com/2012/01/rails-3-1-carrierwave-s3-heroku/ – jpw Jan 19 '12 at 21:39