When you try to install watir 2.0.4, it will grab the latest version of the win32-process gem (and other dependencies) unless you already have one installed. Currently the win32-process gem is at version 0.7.0, which you do not want. So the solution is to manually install a prior version of the win32-process gem. I believe watir 2.0.4 was originally using win32-process 0.5.5, though I think you could use 0.6.6 as well.
I was able to get Watir 2.0.4 to install successfully (ie could launch and close an IE browser) from a fresh Ruby 1.8.7 install by doing: gem install win32-process -v 0.5.5 gem install watir -v 2.0.4 - Justin On Thursday, October 18, 2012 9:55:08 AM UTC-4, Shryan wrote: > > So previously on my old machine I was using Ruby 1.8.7 in conjunction with > Watir 2.0.4. I recently inherited a new system. I am trying to configure my > same set up on this PC now. However, I install Ruby 1.8.7 and then try to > install a specific version of Watir. watir -v 2.0.4 > > When I do this though it begins to install and then fails. It says that > win32-process requires ruby 1.9.2. If I upgrade my Ruby library, there are > a lot of process changes that have to take place in order to get he scripts > functional again. (I have checked). > > Does anybody have a solution on how to get Ruby 1.8.7 with Watir 2.0.4 > reinstalled. I am not sure why it was working on my other system and will > not on this one. > > Thank you, any help is appreciated. > -- 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