您的位置:軟件測試 > 開源軟件測試 > 開源功能測試工具 > Watir
64位win7系統(tǒng)安裝watir遇到報錯及解決
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2013/12/16 10:14:39 ] 推薦標(biāo)簽:

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ù)安裝,則先卸載該依賴包,重新安裝一個其他版本的嘗試一下

軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd