How do I install rmagick gem for Windows XP? I already installed ImageMagick with the header files, and I installed RailsInstaller.org which comes with DevKit. I don\'t know
RMagic won't work with ImageMagic 6.8. I updated the RMagick Github wiki with detailed instructions.
https://github.com/rmagick/rmagick/wiki
There I found gems (haha) such as
If ImageMagick isn't first in your system path, you'll get an "Invalid drive specification" error when extconf.rb tries to identify the ImageMagick version.
and
gem install rmagick -- '--with-opt-dir="[path to ImageMagick]"'
(Obvious, huh?)
I believe RMagick is a dead project. There hasn't been a commit for 2 years!
Start Command Prompt in Administrator mode. Set CPATH and LIBRARY_PATH environment variables to point respectively to ImageMagick installation directory include and lib subdirectories (so the DevKit will find them at build time)
set CPATH=C:\Program Files (x86)\ImageMagick-6.7.9-Q16\include set LIBRARY_PATH=C:\Program Files (x86)\ImageMagick-6.7.9-Q16\lib
Then start a new command prompt and
gem install rmagick
This worked for me! See the result in http://www.redmine.org/projects/redmine/wiki/HowTo_install_rmagick_gem_on_Windows
You should be using rmagick-win32:
http://rmagick.rubyforge.org/install-faq.html#win
try this video, it goes through the installation process for window 7. I followed the steps and it worked for me.
http://www.youtube.com/watch?v=gEWAVlNCKhg&feature=youtu.be