Paperclip error - NotIdentifiedByImageMagickError
add gem "cocaine", "= 0.3.2"
then bundle install message
Bundler could not find compatible versions for gem "cocaine": In Gemfile:
paperclip (~> 3.0) x86-mingw32 depends on
cocaine (~> 0.4.0) x86-mingw32
cocaine (0.3.2)
it used to work fine for pdf and images, tried out for an hour or so, followed everything I googled later the problem was found in my model has_attached_file :attachment,
:styles => {:original=> "125x125#"}
had to comment this line, and it worked for other attachments like docx or odt etc..
Most likely this is caused by the API change in Cocaine 4 which Paperclip has not caught up to yet. Try using the earlier version of Cocaine by inserting this line into your Gemfile:
gem "cocaine", "= 0.3.2"