Guest User

Untitled

a guest
Apr 25th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. ## this is need only on os x running passenger (and imagemagick needs to give apache user permissions)
  2. if ENV['SERVER_SOFTWARE'] =~ /Phusion_Passenger/
  3. Paperclip.options[:command_path] = "/opt/local/var/macports/software/ImageMagick/6.5.5-7_0+q16/opt/local/bin"
  4. Paperclip.options[:image_magick_path] = "/opt/local/var/macports/software/ImageMagick/6.5.5-7_0+q16/opt/local/bin"
  5. end
Add Comment
Please, Sign In to add comment