|
本帖最后由 lmdandan 于 2013-7-29 14:35 编辑
require 'rubygems'
require 'watir'
ie = Watir::IE.new
ie.goto('http://www.hao123.com')
错误信息如下:
>ruby 123.rb
123.rb:20: no such file to load -- watir/ie (LoadError)
>Exit code: 1
请教各位大大,我这是啥问题?
WIN7 ie 8
ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-mingw32]
GEM 1.8.24
安装的gems如下:
*** LOCAL GEMS ***
activesupport (2.3.8)
atomic (1.1.10)
builder (3.2.2)
commonwatir (1.6.5)
ffi (1.9.0 x86-mingw32)
firewatir (1.6.5)
hoe (3.7.0)
i18n (0.6.4)
mini_portile (0.5.1)
minitest (4.7.5)
multi_json (1.7.7)
nokogiri (1.4.0 x86-mswin32)
rake (10.1.0)
rdiscount (2.1.6)
s4t-utils (1.0.4)
thread_safe (0.1.2)
tzinfo (0.3.37)
user-choices (1.1.6.1)
watir (1.6.5)
win32-api (1.4.9 x86-mingw32)
win32-process (0.6.4)
windows-api (0.4.2)
windows-pr (1.2.2)
xml-simple (1.1.2) |
|