开发者

Paperclip error when using :styles

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜