Skip to content

Instantly share code, notes, and snippets.

@libitte
Last active April 10, 2017 09:47
Show Gist options
  • Save libitte/4c3c46d485008d70bbe92a2d5452c344 to your computer and use it in GitHub Desktop.
Save libitte/4c3c46d485008d70bbe92a2d5452c344 to your computer and use it in GitHub Desktop.
paperclip で pdf をアップロードしようとしたらエラーの解決

pdf ファイルアップロード時に発生した Paperclip::Errors::NotIdentifiedByImageMagickError の解決

[paperclip] An error was received while processing: #<Paperclip::Errors::NotIdentifiedByImageMagickError: Paperclip::Errors::NotIdentifiedByImageMagickError>

ローカルに ghostscript が入っていなかった!

brew install ghostscript
# https://www.ghostscript.com/

で解決。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment