SupremeA
SupremeA

Reputation: 1621

ERROR Original Error: ImageMagick/GraphicsMagick is not installed

I have an app that is using Imagemagick, but I had to rebuild my environment and now when I try and upload an avatar (which is why I am using Imagemagick), it keeps giving me the following error when I try to add an image.

Avatar Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: ImageMagick/GraphicsMagick is not installed

I installed it in the folder that holds my app, but it seems as though the app is not recognizing the install. Is there a way to make the app recognize the minimagick or did I install it in the wrong place or am I completely off.

-UPDATE-

I uninstalled minimgick and reinstalled, but still get the same error, although it shows that it is installed. Here are my versions...

-imagemagick-6.9.1-6

-ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]

-Rails 4.0.10

-running on a mac

Upvotes: 50

Views: 47120

Answers (7)

iGian
iGian

Reputation: 11193

For who's on Cloud9 encountering the error:

MiniMagick::Invalid (You must have ImageMagick or GraphicsMagick installed)

this solved for me:

sudo yum install ImageMagick

Upvotes: 1

Ivan Verevkin
Ivan Verevkin

Reputation: 135

sudo apt-get install graphicsmagick-imagemagick-compat

Upvotes: 6

Arslan Ali
Arslan Ali

Reputation: 17812

You need to install libmagickwand-dev in order to successfully complete the rmagick gem. Following command will do the job for you:

sudo apt-get install libmagickwand-dev

On a Mac, you would run the following command:

brew install imagemagick # it requires you to install Homebrew first.

Upvotes: 100

kurt
kurt

Reputation: 23

Just an update on my experience. I recently had the same issue with the latest version of ImageMagick 7.0.8-7. I fixed the problem by just downgrading to 6.9.... This solved the issue for some reason.

  • I was on Windows btw. x64.

Upvotes: 2

Nick
Nick

Reputation: 3160

I had the same issue and solved it with:

sudo apt-get update

sudo apt-get install imagemagick --fix-missing

Upvotes: 23

Jaswinder
Jaswinder

Reputation: 1545

You just need to update your system libraries. try this:-

sudo apt-get -f install

and then you would be able to upload it.

Upvotes: 1

Szymon Rut
Szymon Rut

Reputation: 915

on Ubuntu:

sudo apt-get install imagemagick

Upvotes: 55

Related Questions