paperclip gem validation error - 'filename' is not recognized by the 'identify' command

半世苍凉 提交于 2019-12-02 10:33:58
user1168320

This was apparently caused by the cocaine gem 0.4.0 breaking paperclip (I'm using paperclip 3.2.0). To fix the issue I reverted back to an older version of that gem by doing:

gem uninstall cocaine

adding this to gemfile

gem 'cocaine', '0.3.2'

and then bundle installing

bundle install

Image file is not recognized by the 'identify' command. (heroku) https://github.com/thoughtbot/paperclip/issues/1038

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!