I have been trying to install the watir gem for ruby 2. I followed the watir books install instructions exactly but once the watir install get to the mini_magick gem it gives this error
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument - C:/Ruby200/lib/ruby/gems/2.0.0/gems/mini_magick-3.6.0/tes
t/files/special! "chars'.gif
Anyone know how to get around this? I noticed that nokogiri was acting kind of weird being unable to convert from ASCII to ITF-8. Maybe this has something to do with it. Thanks y'all
I ran into same problem and here was my solution to work around it. The problem seems to be in the new 3.6.0 version, so back out the new version and install the previous version.
gem uninstall mini_magick
gem install mini_magick -v 3.5.0
After installing 3.5.0 mini_magick gem, rerun the watir gem install. It should find the mini_magick gem already installed and skip over it and install the remaining gems successfully. Good luck.
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