Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am trying to get my Ruby on Rails application working and installing RMagic gem. But I get an error that says "Can't install RMagick 2.13.1. Can't find the ImageMagick library or one of the dependent libraries." Altough I have ImageMagick installed with its dependences.

Terminal log :

I even tried to installed RMagic from Synaptic, but I get the same error when I run "bundle" command.

Through my search, some people had problem with lib dependencies, but I believed I have them all installed.

Another solution I found is this ( error installing RMagick from gem ) a little bit old and not sure if it is going to work for 12.04. BUT, I don't know where those configurations should go.

share|improve this question
Have you tried this yet? – Kyle Macey Oct 15 '12 at 12:26
yep, libmagickwand is installed and all ImageMagick dependencies – PeaceDefender Oct 15 '12 at 15:32

1 Answer 1

It is working now and RMagick recognizes where ImageMagick is located after I compiled and installed the latest version of ImageMagick from the main website. I followed the instructions:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.