开发者

Paperclip error when using :styles

开发者 https://www.devze.com 2023-03-14 21:53 出处:网络
I have a Profile model, which has attached file picture, using Paperclip. I am able to save the attachment picture normally, but when I use :styles for paperc开发者_StackOverflow中文版lip, I get the f

I have a Profile model, which has attached file picture, using Paperclip. I am able to save the attachment picture normally, but when I use :styles for paperc开发者_StackOverflow中文版lip, I get the following error message:

Profile picture Paperclip::CommandNotFoundError

I do not know what's wrong or missing in my configurations. Thanks.


Make sure that that you install ImageMagick package & rmagick gem.


Sounds like you need to install ImageMagick. :styles are postprocessed by the ImageMagick command line tool.

0

精彩评论

暂无评论...
验证码 换一张
取 消