I think you need to do more than that. The problem seems to be that 
there bad versions of these gems out there, and that they were fixed 
without changing the version number. So the gem installer won't update 
your gem.

The solution, therefore, would be uninstall these gems and then 
reinstall them.

Bret

Charley Baker wrote:
> It seems there are some compatibility issues here with some of the 
> win32utils. Try updating your win32-api gem, win32-process and the 
> windows-pr gem as well.  Same instructions that Aidy mentioned before 
> with those gems.
>
>
>
> Charley Baker
> blog: http://charleybakersblog.blogspot.com/
> Lead Developer, Watir, http://wtr.rubyforge.org
> QA Architect, Gap Inc Direct
>
>
> On Thu, Feb 5, 2009 at 6:51 AM, aidy lewis <aidy.le...@googlemail.com 
> <mailto:aidy.le...@googlemail.com>> wrote:
>
>
>     This will work
>
>      require 'watir'
>      Watir::Browser.default = "ie"
>      @browser ||= Watir::Browser.new
>
>
>     Aidy
>
>     2009/2/5 Jaz <jasmin.chazarr...@gmail.com
>     <mailto:jasmin.chazarr...@gmail.com>>:
>     >
>     > Hi!
>     >
>     > Thanks for answering so fast Aidy
>     > Unfortuneatly it still doesn't work =(
>     >
>     > (Going crazy soon...)
>     >
>     > /jasmin
>     >
>     > On Feb 5, 1:59 pm, aidy lewis <aidy.le...@googlemail.com
>     <mailto:aidy.le...@googlemail.com>> wrote:
>     >> gem list -r win*
>     >>
>     >> gem update windows-api -y
>     >>
>     >> Aidy
>     >>
>     >> 2009/2/5 Jaz <jasmin.chazarr...@gmail.com
>     <mailto:jasmin.chazarr...@gmail.com>>:
>     >>
>     >>
>     >>
>     >>
>     >>
>     >> > How do I do that?
>     >>
>     >> > On Feb 5, 12:36 pm, aidy lewis <aidy.le...@googlemail.com
>     <mailto:aidy.le...@googlemail.com>> wrote:
>     >> >> At a guess try updating your windows api gem
>     >>
>     >> >> Aidy
>     >>
>     >> >> 2009/2/5 Jaz <jasmin.chazarr...@gmail.com
>     <mailto:jasmin.chazarr...@gmail.com>>:
>     >>
>     >> >> > Hi!
>     >>
>     >> >> > Recently installed ruby to use watir, and I get a strange
>     error when I
>     >> >> > execute the steps in "Watir in 5 minutes"
>     >> >> >http://wiki.openqa.org/display/WTR/Watir+in+5+Minutes
>     >>
>     >> >> > These are the steps I follow:
>     >>
>     >> >> > 1. require "watir"
>     >>
>     >> >> > 2. ie = Watir::IE.new
>     >>
>     >> >> > When I perform step 2 I get the following error:
>     >>
>     >> >> > Win32::API::Error: Attempt to format message failed
>     >> >> > from
>     C:/Ruby/lib/ruby/gems/1.8/gems/windows-api-0.3.0/lib/windows/
>     >> >> > api.rb:333 in 'initialize'
>     >> >> > from
>     C:/Ruby/lib/ruby/gems/1.8/gems/windows-api-0.3.0/lib/windows/
>     >> >> > api.rb:333 in 'new'
>     >> >> > .
>     >> >> > .
>     >> >> > .
>     >> >> > .. and the message continues.
>     >> >> > I can write the whole message down if necessary. It's
>     really long =(- Hide quoted text -
>     >>
>     >> >> - Show quoted text -- Hide quoted text -
>     >>
>     >> - Show quoted text -
>     > >
>     >
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to