I have recently upgraded to Ubuntu 10.04 and I got this nasty rmagick gem error:
RMagick2.so: This installation of RMagick was configured with ImageMagick 6.5.5 but ImageMagick 6.5.7-8 is in use. (RuntimeError)
google for This installation of RMagick was configured with ImageMagick 6.5.5 but ImageMagick 6.5.7-8 is in use. (RuntimeError)
then found this page in mixed English/Chinees
and finally got a page in German :)
Then I decide to write this post in English and slightly modify the solution
instead of putting
RMAGICK_BYPASS_VERSION_TEST = true in the deploy.rb
I have put this in the development.rb
and all it works – this way on the production I will be forced to use real compatible library or at least check again for another solution or gem.
AUCH! This solution doesn’t work even in development I got weird core dumps :( …so here it is another try
Here is the real working solution:
su -
git clone http://github.com/rmagick/rmagick.git
cd rmagick/
ruby setup.rb
ruby setup.rb install