I know there are already some questions and extensive answers about RMagick for Ruby 1.9.x, but I still have problems installing it.
I am working with the Ruby-Aptana Plugin for Eclipse and I have already installed the DevKit. I have tried to install RMagick as follows:
I have downloaded and installed ImageMagick 6.7.6-5-Q16-windows-dll.exe from here in C:/ImageMagick6.7.6-5-Q16-windows-dll.exe Hope this is that one with headers?
Then I set the environment variables, but I'm not sure how to do that. I've tried that in windows control panel --> system --> advanced settings --> environment variables --> system variables. There I set:
PATH --> values: C:\Ruby192\bin and C:\ImageMagick-6.7.6-Q16
CPATH --> C:\ImageMagick-6.7.6-Q16\include
LIBRARY_PATH --> C:\ImageMagick-6.7.6-Q16\lib
- I installed the rmagick gem: gem install rmagick
Unfortunately I still get the error:
Temporarily enhancing PATH to include DevKit...
Buidling native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Error installing rmagick:
c:/Ruby192/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for stdint.h...*** extconf.rb failed***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details.
I'm a Ruby-Starter and hope you respect this when answering my (perhaps silly) question. Thank u all for you help!