gem uninstall commonwatir -v 1.6.5 See if that fixes or changes the error. Also as Zeljko suggests try using
Watir::Browser.new instead of Watir::IE.new If that does not work, show us what you have for require statments etc at the top of your script.. You might also try updating to a newer version of Ruby (1.9.2) , but I don't think that's the problem, so I'd wait to do that after you get things working. (1.8.7 is getting a little behind the times at this point, and a lot of materials and other things you will find from this point forward are likely to presume 1.9.x versions of Ruby) On Dec 28, 7:53 am, mdwin01 <mdwi...@gmail.com> wrote: > Hi Chuck, here are the gems and their versions: > > C:\ruby\XLS>gem list > > *** LOCAL GEMS *** > > activesupport (2.3.5) > builder (2.1.2) > commonwatir (2.0.4, 1.6.5) > diff-lcs (1.1.2) > ffi (1.0.11) > firewatir (1.6.5) > fxri (0.3.6) > fxruby (1.6.12 mswin32) > gemcutter (0.7.1) > hoe (2.5.0) > hpricot (0.6 mswin32) > json_pure (1.2.0) > log4r (1.0.5) > mechanize (1.0.0) > nokogiri (1.4.1 x86-mswin32) > rake (0.8.7, 0.7.3) > rasta (0.1.10 x86-mswin32-60) > rautomation (0.6.3) > rdiscount (1.6.8) > rspec (2.5.0) > rspec-core (2.5.1) > rspec-expectations (2.5.0) > rspec-mocks (2.5.0) > rubyforge (2.0.3) > rubygems-update (1.8.13) > s4t-utils (1.0.4) > sources (0.0.1) > user-choices (1.1.6.1) > watir (2.0.4) > win32-api (1.4.8 x86-mingw32, 1.4.5 x86-mswin32-60, 1.0.4 mswin32) > win32-clipboard (0.4.3) > win32-dir (0.3.2) > win32-eventlog (0.4.6) > win32-file (0.5.4) > win32-file-stat (1.2.7) > win32-process (0.6.2, 0.5.3) > win32-sapi (0.1.4) > win32-sound (0.4.1) > windows-api (0.4.0, 0.2.0) > windows-pr (1.2.1, 1.0.8, 0.7.2) > xml-simple (1.0.12) > > On Dec 28, 9:48 am, Chuck van der Linden <sqa...@gmail.com> wrote: > > > > > > > > > Also, in addition to what Jarmo and Zeljko are asking, do a 'gem > > list' from the command line so we get a list of all installed gems and > > their versions, it would be good to make sure of the versions of other > > gems watir uses or generally installs (like commonwatir) > > > On Dec 28, 5:19 am, Jarmo Pertman <jarm...@gmail.com> wrote: > > > > What require statements do you have in your scripts? > > > > Jarmo > > > > On Dec 28, 1:30 pm, Željko Filipin <zeljko.fili...@wa-research.ch> > > > wrote: > > > > > On Wed, Dec 28, 2011 at 5:02 AM, mdwin01 <mdwi...@gmail.com> wrote: > > > > > Watir::IE.new > > > > > What happens if you do this instead of Watir::IE.new? > > > > > Watir::Browser.new > > > > > Željko- Hide quoted text - > > > - Show quoted text - -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com