您的位置:软件测试 > 开源软件测试 > 开源功能测试工具 > Watir
64位win7系统安装watir遇到报错及解决
作者:网络转载 发布时间:[ 2013/12/16 10:14:39 ] 推荐标签:

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包时,在安装其依赖包时报错无法继续安装,则先卸载该依赖包,重新安装一个其他版本的尝试一下

软件测试工具 | 联系我们 | 投诉建议 | 诚聘英才 | 申请使用列表 | 网站地图
沪ICP备07036474 2003-2017 版权所有 上海泽众软件科技有限公司 Shanghai ZeZhong Software Co.,Ltd