Question

So after a couple of months of development today I am finaly deploying! (WOOHOO great day). But i am stuck with a problem I can't seem to fix:

First of all in development all is working perfectly. In deployment on my server it isn't though!. I use attachment_fu and i am able to upload pictures but the pictures are not resizing.

There is nothing in the production log or in de apache error log. I am using ImageMagick with Mini_magick, Passenger and Attachement_fu. So I can upload (no problem) but for some reason the images don't resize! like i told attachement fu to do.

Also i read and Googled my ass off and found some thing about Apache export you need to add or something. But so far i don't know what to do at this point!

Thanxs in advance for any advise!

Was it helpful?

Solution

AFAIR Image Magick requires some native packages to be installed on the server. I guess libmagick6-dev or sth like that.

Try this, run Rails console on your production and type ImageMagick. If it has all the necessary dependencies you should see no error.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top