On Tue, Oct 11, 2011 at 6:40 PM, Babu <suvodasgu...@gmail.com> wrote:
> if i uninstall ruby then i have to install all the  gems again
> manually since in my office there is firewall issue so i download and
> install all the gems manually.

In that case Ruby reinstall is not the easiest way (it was for me). I
suggest that you uninstall all watir gems, and then see what this returns:

puts Watir::IE::VERSION

This does not even work for me, I get uninitialized constant error. I have
watir 2.0.2 gem.

This works, it returns 2.0.2:

puts Watir::VERSION

So, after you have uninstalled all watir gems, search your ruby folder
(usually c:\ruby) for watir and delete the watir folder. (Make a copy of
your ruby folder before deleting anything manually, just in case.)

After deleting watir folder, try this again:

puts Watir::IE::VERSION

If it says something like "I do not know anything about this thing Watir you
are talking about", then install watir with:

gem install watir

Željko

-- 
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

Reply via email to