To sum up and quote the answer by Dany Khalife:
Uninstall ImageMagick and re-install a previous version that works with your Ruby setup.Keep in mind the version numbers! I'm running on Ruby 2.0.0 and it worked just fine. Be sure to use the following command, assuming ImageMagick was installed in C:/ :
This is what worked for me :
- Ruby 1.9.3
- Dev Kit 32-4.5.2
- ImageMagick 6.7.7 (i had a really hard time finding binary versions for legacy versions of ImageMagick so i guess this link will be handy for you: http://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/binaries/)
- Rmagick 2.13.2
gem install rmagick --version=2.13.2 --platform=ruby -- --with-opt-lib=c:/ImageMagick/lib --with-opt-include=c:/ImageMagick/include
And that's all there is to it. 'bundle install' should work just as well, too for the rails project. Hope this helps!
No comments:
Post a Comment