Re: [wtr-general] Re: [Watir launching] Unable to launch Watir by require 'watir'

2011-02-18 Thread Tim Koopmans
Oops thanks! Fixed the typo =)

Cheers,
Tim


On Sat, Feb 19, 2011 at 7:48 AM, mmauric  wrote:

> Hi Tim,
>
> Thank you very much for your help, It works now both, by the command
> line or by setting the OPTRUBY variable.
>
> I have just seen a little mistake in your change in the documentation,
> you wrote require 'rubgyems' instead of require 'rubygems'.
>
> Regards.
>
> Michel
>
>
> On 17 fév, 22:09, Tim Koopmans  wrote:
> > Try
> >
> > require 'rubygems'
> >
> > Before your require for Watir... Or set your RUBYOPT environment variable
> ...
> >
> > Regards,
> > Tim
> >
> > On 18/02/2011, at 8:06 AM, mmauric  wrote:
> >
> > > As explained in the getting started, I have installed ruby-1.8.7-p330
> > > with the option to update the path variable on Windows 7 pro and
> > > performed:
> >
> > > gem update --system
> > > gem install watir
> >
> > > -> watir-1.7.1 is installed (all seems right)
> >
> > > Then I try to launch Watir and here is below the error message I get:
> >
> > > C:\Ruby187>irb
> > > irb:001:0>require 'watir'
> > > LoadError: no such file to load --watir
> > >   from :2in 'require'
> > >   from :2
> > > irb:003:0>
> >
> > > With Ruby-1.8.7, I have got some successfully cases (answer =>true),
> > > but I have not understood the scenario to reproduce.
> >
> > > I have tried with different current directories and other versions of
> > > ruby without more success.
> >
> > > Thank you for your help.
> >
> > > Regards.
> >
> > > --
> > > 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
>
> --
> 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
>

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


[wtr-general] Re: [Watir launching] Unable to launch Watir by require 'watir'

2011-02-18 Thread mmauric
Hi Tim,

Thank you very much for your help, It works now both, by the command
line or by setting the OPTRUBY variable.

I have just seen a little mistake in your change in the documentation,
you wrote require 'rubgyems' instead of require 'rubygems'.

Regards.

Michel


On 17 fév, 22:09, Tim Koopmans  wrote:
> Try
>
> require 'rubygems'
>
> Before your require for Watir... Or set your RUBYOPT environment variable ...
>
> Regards,
> Tim
>
> On 18/02/2011, at 8:06 AM, mmauric  wrote:
>
> > As explained in the getting started, I have installed ruby-1.8.7-p330
> > with the option to update the path variable on Windows 7 pro and
> > performed:
>
> > gem update --system
> > gem install watir
>
> > -> watir-1.7.1 is installed (all seems right)
>
> > Then I try to launch Watir and here is below the error message I get:
>
> > C:\Ruby187>irb
> > irb:001:0>require 'watir'
> > LoadError: no such file to load --watir
> >       from :2in 'require'
> >       from :2
> > irb:003:0>
>
> > With Ruby-1.8.7, I have got some successfully cases (answer =>true),
> > but I have not understood the scenario to reproduce.
>
> > I have tried with different current directories and other versions of
> > ruby without more success.
>
> > Thank you for your help.
>
> > Regards.
>
> > --
> > 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

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