Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 412
ascherman Avatar asked Mar 31 '15 20:03

ascherman


1 Answers

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

like image 50
MZaragoza Avatar answered Oct 31 '22 09:10

MZaragoza