I've been googling for a while but couldn't find anything that works.
Basically, when I put gem 'rmagick' in my gemfile and run bundle install, I get the following error message:
Installing rmagick (2.13.1) with native extensions C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:in `rescue in block in buil d_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
C:/Ruby192/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5... yes Invalid drive specification. Unable to get ImageMagick version * 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.
I went to the RMagick site and installed the windows binary gem. but it still doesn't work.
What should I do?
Edit: I need rmagick for simple_captcha
Alright finally got it to work. This is what ended up helping me get it right.
http://www.waydotnet.com/blog/2010/02/rmagick-on-ruby-1-9-1-i386-mingw32-work-d/
Funny thing is, I ended up giving up simple_captcha because of other problems. Using third party plugins involves much bigger headaches than I thought...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With