The other than might bite you is if you are using something like the
RUBYLIB environment variable to assist ruby with finding helper
methods you may have located in a specific directory.  That can also
cause the same error when you are trying to require the file that
holds those methods.

Sorry to hear that you had some many issues trying to upgrade your
scripts.  If you can give us any kind of post-mortem dump of the hard
parts of the experience, it might help to figure out how to better
document the process, or make things easier in the future.  We really
need to improve the user experience there.

I've been doing similar upgrades, but to scripts a bit newer than
yours, and perhaps that has made a big difference for me.

On Feb 17, 9:31 am, Lisa Crispin <lisa.cris...@gmail.com> wrote:
> Thanks, Trevor, I do have that RUBYOPT variable set.
> -- Lisa
>
>
>
>
>
>
>
>
>
> On Fri, Feb 17, 2012 at 4:10 AM, Trevor <trevorm1...@gmail.com> wrote:
> > Hi Lisa,
> > I have been going through the pain of upgrading to Ruby 1.9.3 and
> > Watir 3.0, but haven't really kept a log of all the changes.
> > I have been going back and forward between various versions of Ruby/
> > Watir and I think when I saw this problem before I set
> > RUBYOPT=rubygems in the system environment variables.
> > Might be worth trying.
>
> > Trevor
>
> > On Feb 17, 3:29 am, Lisa Crispin <lisa.cris...@gmail.com> wrote:
> > > I know, I had uninstalled Ruby 1.8.7 because the require 'watir' kept
> > > failing, and installed Ruby 1.8.6, but now the install of watir won't
> > work.
>
> > > When I typed "gem install watir" in Ruby 1.8.7, I got Watir 2. I don't
> > want
> > > Watir 2, I want 1.6.2. Will that just happen by magic? I know I can just
> > > try it, but I'm getting really tired of uninstalling and installing
> > things.
>
> > > thanks,
> > > Lisa
>
> > > On Thu, Feb 16, 2012 at 6:28 PM, Željko Filipin <
> > zeljko.fili...@gmail.com>wrote:
>
> > > > On Thu, Feb 16, 2012 at 7:10 PM, Lisa Crispin <lisa.cris...@gmail.com>
> > > > wrote:
> > > > > I get *** LOCAL GEMS ***
>
> > > > If it does not list watir gem there, then you do not have it installed.
> > > > Try running this again:
>
> > > > gem install watir
>
> > > > Željko
>
> > > > --
> > > > Before posting, please readhttp://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
>
> > > --
> > > Lisa Crispin
> > > Co-author with Janet Gregory, _Agile Testing: A Practical Guide for
> > Testers
> > > and Agile Teams_ (Addison-Wesley 2009)
> > > Contributor to _Beautiful Testing_ (O'Reilly 2009)http://lisacrispin.com
> > > @lisacrispin on Twitterhttp://entaggle.com/lisacrispin
>
> > --
> > Before posting, please readhttp://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<http://groups.google.com/group/watir-general%0Awatir-general+unsubscr...>
>
> --
> Lisa Crispin
> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
> and Agile Teams_ (Addison-Wesley 2009)
> Contributor to _Beautiful Testing_ (O'Reilly 2009)http://lisacrispin.com
> @lisacrispin on Twitterhttp://entaggle.com/lisacrispin

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