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

后端 未结 1 1841
余生分开走
余生分开走 2021-01-28 06:53

I\'m trying to get the paperclip gem to upload images on my production server (ubuntu 12.0.4, apache2, phusion passenger and rvm) and for each attachment I get three lots of thi

相关标签:
1条回答
  • 2021-01-28 07:41

    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

    0 讨论(0)
提交回复
热议问题