you are here: codestackercodes [RSS] → tag passenger [RSS]

paperclip running in passenger

it's necessary set the correct path of imagemagick. in os x (dev) e linux (production):

if RAILS_ENV == "development" 
  Paperclip.options[:image_magick_path] = '/opt/local/bin/' 
else 
  Paperclip.options[:image_magick_path] = '/usr/bin/' 
end 
Displaying 1 Code