Paperclip::NotIdentifiedByImageMagickError in Spree::Admin::ImagesController#create

后端 未结 3 1544
予麋鹿
予麋鹿 2020-12-06 21:49

I am attempting to setup Spree for the first time. Everything was going well until I hit the image upload. I have installed Imageamgick using homebrew on Mac OSX Mountain Li

3条回答
  •  抹茶落季
    2020-12-06 22:07

    Check if png format is in the list of compiled formats of identify:

    identify -list format
    

    If it's not, you might have to recompile it with these options:

    ./configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
    

提交回复
热议问题