imagemagickrmagick

RMagick complains it was configured with a different version of ImageMagick


I am getting following error while running local script/server of my Rails project:

This installation of RMagick was configured with ImageMagick 6.6.1 but ImageMagick 6.4.5 is in use. (RuntimeError)

Running identify --version shows the following:

Version: ImageMagick 6.6.1-10 2010-05-21 Q8 http://www.imagemagick.org

So, my question is how and where should I make changes to work it fine; I have already reinstalled ImageMagick but that didn't work.


Solution

  • the same thing happened to me but the solution was a bit simpler than uninstalling imageMagick. It sounds like Rmagick's config file isn't updated to use your updated imagemagick so try

    sudo gem uninstall rmagick
    sudo gem install rmagick
    

    restart your server.

    I took a closer look and noticed you had Rmagick configured for a newer imageMagick but using an older imageMagick. So I would assume that my solution would still work but you would not be using the newer ImageMagick.