How to install rmagick gem on Windows?

后端 未结 4 1026
刺人心
刺人心 2021-01-12 05:07

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

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-12 05:35

    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!

提交回复
热议问题