carrierwave + mini_magick gems = not an image error

后端 未结 2 1665
死守一世寂寞
死守一世寂寞 2020-12-10 14:14

I\'m using:

- carrierwave 0.6.0
- rails 3.2.1
- mini_magick 3.4
- ruby 1.9.2p290

And during image uploading I want to resize uploading pic:

2条回答
  •  误落风尘
    2020-12-10 15:01

    B. Ruschill's answer seemed to have solved many peoples' problem, unfortunately it didn't for me. Nor did many solutions I found on the internets.

    Turns out I had an outdated version of libjpeg. I fixed that by removing and re-installing using brew. This may happen for other image formats too. Perhaps doing the same for the respective libs might solve the problem.

    TL;DR

    brew remove libjpeg
    brew install libjpeg
    

提交回复
热议问题