Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mod_rails and Paperclip problem Paperclip::NotIdentifiedByImageMagickError

I am havingn troble deploying my app to a server runing ubuntu with mod_rails. Runing webrick on the server seems fine and I can save files, no problem. But runing the app thru nginx, I get this error when I try to save a file.

[paperclip] An error was received while processing: # [paperclip] An error was received while processing: # R

like image 872
Cezar Halmagean Avatar asked Oct 09 '09 15:10

Cezar Halmagean


1 Answers

Paperclip.options[:image_magick_path]

Is deprecated, apparently. Try:

Paperclip.options[:command_path] = "/usr/local/bin"

Which worked for me. Adjust path to ImageMagick as needed.

like image 177
Tony Avatar answered Nov 04 '22 14:11

Tony