我已經安裝了Ruby 2,devkit & Watir。我收到以下錯誤。任何人都可以請幫我解決這個問題?watir - 安裝
C:\devkit>irb
DL is deprecated, please use Fiddle
irb(main):001:0> require "watir"
=> true
irb(main):002:0> browser = Watir::Browser.new
LoadError: cannot load such file -- watir-classic
from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in`require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-4.0.2/lib/watir/loader.rb:48:in `load_driver'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-4.0.2/lib/watir/loader.rb:40:in `load_driver_for'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-4.0.2/lib/watir/loader.rb:8:in `new'
from (irb):2
from C:/Ruby200/bin/irb:12:in `<main>'
irb(main):003:0>
你已經安裝的Watir經典的寶石? – 2013-02-26 00:00:43
不是特別的,我以爲它會成爲默認安裝的一部分?我會盡力找到...謝謝。 – 2013-02-26 00:05:59
應該是。 Ruby 2.0可能會有所改變。在試用之前,我會等待該版本的下一個補丁級別。以防萬一:) – 2013-02-26 08:55:45