Problems in Installing Rmagick in Windows
For those who are going to install RMagick on Windows this might help you.

Actually I've spent half day making this work and as I was googling around I found this usual reason why it doesn't work (most of them are my typo fault):

  • This application has failed to start because CORE_RL_Magick_.dll was not found Re-installing the application may fix the problem....RMagick2.so

    irb(main):002:0> require 'rmagick'
    LoadError: 126: The specified module could not be found.
    c:/ruby18/lib/ruby/gems/1.8/gems/rmagick-2.10.0-x86-mswin32/ext/RMagick2.so
    from c:/ruby18/lib/ruby/gems/1.8/gems/rmagick-2.10.0-x86-mswin32/ext/RMagick2.so
    from c:/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require’
     - This error occurs because "you don’t have ImageMagick path in your PATH!". So better change or add it on your PATH.
  • Runtime Error!

    Runtime Error!
    Program: c:\ruby\bin\ruby.exe R6034
    An application has made an attempt to load the C runtime library incorrectly.
     - comes out becuase your VC++ version is not compatible with the version of RMagick

  • This application has failed to start because the application configuration is incorrect. Re-installing the application may fix the problem....RMagick2.so

    - something's wrong with your installation. Re-install it.
Hope this helps :)

1 comment :

  1. for no 3 download the vcredist_x86.exe 2008 version worked for me

    ReplyDelete