Answer the question
In order to leave comments, you need to log in
Why doesn't paperclip see ImageMagick?
Good afternoon colleagues!
Faced such a problem. Paperclip returns an error:
some.jpg is not recognized by the 'identify' command.
Paperclip.options[:command_path] = "/opt/ImageMagick/bin"
sudo port install ImageMagick
$> identify ~/Pictures/nature/007.jpg
/Users/vlad/Pictures/nature/007.jpg JPEG 800x600 800x600+0+0 8-bit sRGB 69.3KB 0.000u 0:00.000
1.9.3p194 :001 > Magick::ImageList.new("/Users/Vlad/Pictures/nature/007.JPG")
# => [/Users/Vlad/Pictures/nature/007.JPG JPEG 800x600 800x600+0+0 DirectClass 8-bit 67kb] scene=0
Answer the question
In order to leave comments, you need to log in
As a result, I took paperclip from github and it worked. Turns out I had an older version.
Nevertheless, all my attempts, which are described in the question, may be useful to someone.
The solution
was:
gem "paperclip", "~> 3.1.4"
gem "paperclip", github: "thoughtbot/paperclip"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question