carrierwave + mini_magick gems = not an image error

后端 未结 2 1664
死守一世寂寞
死守一世寂寞 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 14:51

    I'm sure that you've solved this by now (at least hopefully! It's almost two months later!), but here's a solution that worked for me just now:


    Uninstall imagemagick through homebrew:

    • brew uninstall imagemagick

    Clean your homebrew directory:

    • brew cleanup --force -s
    • --force removes all out of date keg-only brews, -s removes all cached downloads

    Reinstall imagemagick:

    • brew install imagemagick

    After all of that, you should be good to go!

提交回复
热议问题