I\'m working on a Rail3 app. After struggling for several hours and finally installing the rmagick 2.13.1 gem without errors on win7x64 / ruby 1.9.2, I\'ve run into another
I've finally managed to install ImageMagick and build the RMagick gem and make it all work. Hooray.
It seems like the problem was in the DLL itself. When I tried to registed it, windows gave me a nice error about a problem with the dll.
So my way of solving all the issues is:
In the command line type convert -version to check if everything works. It should print something like:
Version: ImageMagick 6.6.1-10 2010-05-15 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC Features: OpenMP
Install the DevKit if you haven't already.
gem install rmagick --platform=ruby -- --with-opt-lib=c:/ruby192/ImageMagick/lib --with-opt-include=c:/ruby192/ImageMagick/includeIt should print
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
And after a few minutes if everything goes right, you should see
Successfully installed rmagick-2.13.1
1 gem installed
Installing ri documentation for rmagick-2.13.1...
Installing RDoc documentation for rmagick-2.13.1...
And that's it. Hope this saves somebody from wasting several hours in frustration.
Just two more links that were helpful: 1 and 2 if you still can't install