Hello Guys
now i found this video to installing RMagick on windows 7
http://www.youtube.com/watch?v=gEWAVlNCKhg
by using this steps
1- install ImageMagick static on the directory C:/ImageMagick
2- install ImageMagick dll on the same directory C:/ImageMagick
3- Extract the ImageMagick-6.8.8-2.tar on the same directory C:/ImageMagick and rename the folder to "SourceCode"
4- install mingw on the directory C:/MinGW
5- add the path (C:/MinGW) to my windows Environment Variables
After making all the steps when i try to run the command gem install rmagick
OR
gem install rmagick -- '--with-opt-dir="C:/ImageMagick"'
it gave me this Error ??
why I always got this error ???????
how i can solve this issue ????
note : also i followed the steps in this article
http://rubylearning.com/blog/how-do-i-install-a-ruby-gem-with-native-extensions-on-windows/
to fixed gem native extension but still got the same error
Error : Failed to build gem native extension.
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
* 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.
You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/RailsInstaller/Ruby1.9.3/bin/ruby
extconf.rb:172:in `': Invalid argument - convert -version (Errno::EINVAL)
from extconf.rb:172:in
'