ascherman
ascherman

Reputation: 1832

Rails Error: ImageMagick/GraphicsMagick is not installed

I get this error when i ran my rails app on my OSX and i tried to upload an image.

I have a "product" model and i am using Mini_Magick with CarrierWave for uploading the product's image. When i create a product on my ubuntu's laptop, it works fine, but when i do that on my macbook, it throws the error:

Image Failed to manipulate with MiniMagick, maybe it is not an image? Original Error:

ImageMagick/GraphicsMagick is not installed

I have done the "bundle install" command and everything works fine... do you know what could be the problem?

Upvotes: 28

Views: 19833

Answers (1)

MZaragoza
MZaragoza

Reputation: 10111

I am thinking that you may now have some of the foundations on your OSX. You can try removing everything and start again:

to uninstall

brew uninstall imagemagick graphicsmagick libpng jpeg
brew cleanup -s

To install

brew install graphicsmagick

Hope that this works for you

Upvotes: 50

Related Questions