On Wed, Sep 19, 2012 at 10:34 PM, Jarmo <[email protected]> wrote: > Add this into your Gemfile: > gem "watir", "4.0.0.rc6" > And remove watir-webdriver (and/or -classic) from your Gemfile and issue bundle install. It should install watir-webdriver along with watir if you're on Unix and watir-classic in addition on Windows.
I do not have a Windows machine handy at the moment, but it works on a Mac! :) $ gem list *** LOCAL GEMS *** bundler (1.2.0) rake (0.9.2.2) rubygems-bundler (1.1.0) rvm (1.11.3.5) $ cat Gemfile source "http://rubygems.org" gem "watir", "4.0.0.rc6" $ bundle Fetching gem metadata from http://rubygems.org/........ Fetching gem metadata from http://rubygems.org/.. Installing addressable (2.3.2) Installing ffi (1.1.5) with native extensions Installing childprocess (0.3.5) Installing commonwatir (4.0.0) Installing libwebsocket (0.1.5) Installing multi_json (1.3.6) Installing rubyzip (0.9.9) Installing selenium-webdriver (2.25.0) Installing watir-webdriver (0.6.1) Installing watir (4.0.0.rc6) Using bundler (1.2.0) Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. $ irb > require "watir" => true > Watir::Browser.new => #<Watir::Browser:0x..fb042d6d84ab638c6 url="about:blank" title=""> Željko
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
