64位win7系统安装watir遇到报错及解决

上一篇 / 下一篇  2013-08-23 00:06:11

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


TAG:

 

评分:0

我来说两句

我的栏目

日历

« 2024-04-18  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 31732
  • 日志数: 22
  • 建立时间: 2013-08-19
  • 更新时间: 2014-04-01

RSS订阅

Open Toolbar