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

paperclip running in passenger Delicious Email

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

show/hide lines
   1  if RAILS_ENV == "development" 
   2    Paperclip.options[:image_magick_path] = '/opt/local/bin/' 
   3  else 
   4    Paperclip.options[:image_magick_path] = '/usr/bin/' 
   5  end 
created by leozera — 22 December 2008 — get a short url — tags: paperclip passenger rails ruby embed