Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This installation of RMagick was configured with ImageMagick 6.6.9 but ImageMagick 6.7.7-10 is in use

In a rails application, I have this error message :

This installation of RMagick was configured with ImageMagick 6.6.9 but ImageMagick 6.7.7-10 is in use.

I tried to uninstall and install RMagick as suggested in this post : RMagick complains it was configured with a different version of ImageMagick, but it does not work.

I also tried to download the latest version and compile from source but it does not works.

I don't know how to install ImageMagick 6.7.7-10. It seems to not be available on the official website.

I am using rmagick (2.13.2) and Ubuntu 14.04.

Is there a solution?

like image 917
Dougui Avatar asked Sep 05 '14 11:09

Dougui


2 Answers

I finally found the solution. Instead of doing gem uninstall rmagick try using bundle exec gem uninstall rmagick.

I hope it will help someone else!

like image 111
Dougui Avatar answered Oct 21 '22 16:10

Dougui


For me, I did the following and it worked :

 gem uninstall rmagick
 bundle
like image 29
Ian Vaughan Avatar answered Oct 21 '22 17:10

Ian Vaughan