Dougui
Dougui

Reputation: 7230

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?

Upvotes: 18

Views: 6098

Answers (3)

user9154240
user9154240

Reputation:

bundle exec uninstall rmagick, to uninstall RMagick.

Upvotes: -1

Ian Vaughan
Ian Vaughan

Reputation: 21321

For me, I did the following and it worked :

 gem uninstall rmagick
 bundle

Upvotes: 12

Dougui
Dougui

Reputation: 7230

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!

Upvotes: 26

Related Questions