lib/paperclip/errors.rb in paperclip-5.0.0.beta2 vs lib/paperclip/errors.rb in paperclip-5.0.0
- old
+ new
@@ -17,10 +17,12 @@
# or to have explicitly opted out of them.
class MissingRequiredValidatorError < Paperclip::Error
end
# Will be thrown when ImageMagic cannot determine the uploaded file's
- # metadata, usually this would mean the file is not an image.
+ # metadata, usually this would mean the file is not an image. If you are
+ # consistently receiving this error on PDFs make sure that you have
+ # installed Ghostscript.
class NotIdentifiedByImageMagickError < Paperclip::Error
end
# Will be thrown if the interpolation is creating an infinite loop. If you
# are creating an interpolator which might cause an infinite loop, you