Skip to content

Instantly share code, notes, and snippets.

@basti
Forked from atog/paperclip.rb
Created May 30, 2009 18:52
Show Gist options
  • Save basti/120601 to your computer and use it in GitHub Desktop.
Save basti/120601 to your computer and use it in GitHub Desktop.
Initializer solution for paperclip and passenger on Mac
# initializer solution for paperclip + passenger combo
# Paperclip::Attachment#post_process => "/tmp/stream.3916.0 is not recognized by the 'identify'
# command" error.
if RAILS_ENV == "development"
Paperclip.options[:command_path] = "/usr/local/bin"
Paperclip.options[:swallow_stderr] = false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment