Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install ImageMagick for use with RVM

I had a non-rvm app going and decided to move to RVM. Now I'm noticing paperclip failing as ImageMagick isn't available.

[paperclip] An error was received while processing: #<Paperclip::CommandNotFoundError: Could not run the `identify` command. Please install ImageMagick.>

What's the right way to get ImageMagick installed on RVM?

like image 267
AnApprentice Avatar asked Jul 14 '11 00:07

AnApprentice


People also ask

Where does yum install ImageMagick?

It will install ImageMagick and imagick PHP extension module 'imagick.so' under /usr/lib/php/modules directory.

Where can I find ImageMagick?

It runs on Linux, Windows, Mac Os X, iOS, Android OS, and others. The authoritative ImageMagick version 6 web site is https://legacy.imagemagick.org. The authoritative source code repository is https://github.com/ImageMagick/ImageMagick6. Find the latest release of ImageMagick, version 7, at https://imagemagick.org.


2 Answers

On OS X if you have brew installed, you can simply use the following command:

brew install imagemagick
like image 193
luhu Avatar answered Oct 17 '22 12:10

luhu


ImageMagick isn't a gem, it's a normal packet. On debian, the package name is imagemagick. You can install it via apt-get install imagemagick as root.

like image 22
Femaref Avatar answered Oct 17 '22 14:10

Femaref