ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument - D:/expwebJunit/www/expweb/expdevtools/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/mini_magick-3.6.0/test/files/special! "chars'.gif
解決方案: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. Actually, this doesn't solve my problems, after installed mini_magick version 3.5.0, I still get the same error when I execute bundle install. I checked the Gemfile.lock file which generated few days ago and found the version for mini_magick is 3.5.0, then i copied Gemfile.lock to Gemfile directory and then executed bundle install, it's successful.
以后知道了,如果安裝某個gem包時,在安裝其依賴包時報錯無法繼續(xù)安裝,則先卸載該依賴包,重新安裝一個其他版本的嘗試一下