I have no idea why that was not working[even in irb]. I tried that.

On Tue, May 11, 2010 at 1:29 PM, [email protected]
<[email protected]>wrote:

> To avoid this probem, some people like to add "require 'rubygems'" as
> the first require statement in their scripts.
>
> On May 10, 2:57 pm, Cristina <[email protected]> wrote:
> > Thanks!
> > It looks like the problem is that is mandatory to add the system variable
> > "RUBYOPT=rubygems".
> >
> > Cristina
> >
> > On Mon, May 10, 2010 at 3:22 PM, Felipe Knorr Kuhn <[email protected]>
> wrote:
> >
> >
> >
> > > Hello Cristina,
> >
> > > It could be because using rubygems is not default in your new install.
> >
> > > Try adding "require "rubygems"" before "require "watir"" but keep this
> post
> > > in mindhttp://tomayko.com/writings/require-rubygems-antipattern
> >
> > > Good luck,
> >
> > > FK
> >
> > > On Mon, May 10, 2010 at 4:20 PM, Cristina <[email protected]
> >wrote:
> >
> > >> Hi,
> >
> > >> Starting last week i wrote some test suites using watir/ruby. And very
> > >> pleased up to now - working on xp.[ruby 1.8.6; ]
> >
> > >> Now, we have a virtual machine wmware[running windows xp] and I
> installed
> > >> firefox 5.6; the same ruby version[1.8.6], firewatir and watir.
> >
> > >> Moved my scripts into the same location.
> >
> > >> When I try to run it looks like "require "watir"" is not recognized.
> >
> > >> I am receiving the following error:
> > >> ..: in 'require': no such file to load -- watir (LoadError)
> >
> > >> In fact even using irb when I perform "require 'watir' " I am reciving
> the
> > >> same error.
> >
> > >> I do not know what to do? What can be missing.
> >
> > >> I appreciate a lot your help.
> >
> > >> I was searching
> > >> Best regards,
> > >> ~~ Cristina
> >
> > >> ~~ Cristina
> >
> > >>  --
> > >> Before posting, please readhttp://watir.com/support. In short: search
> > >> before you ask, be nice.
> >
> > >> You received this message because you are subscribed to
> > >>http://groups.google.com/group/watir-general
> > >> To post: [email protected]
> > >> To unsubscribe: 
> > >> [email protected]<watir-general%[email protected]>
> <watir-general%[email protected]<watir-general%[email protected]>
> >
> >
> > >  --
> > > Before posting, please readhttp://watir.com/support. In short: search
> > > before you ask, be nice.
> >
> > > You received this message because you are subscribed to
> > >http://groups.google.com/group/watir-general
> > > To post: [email protected]
> > > To unsubscribe: 
> > > [email protected]<watir-general%[email protected]>
> <watir-general%[email protected]<watir-general%[email protected]>
> >
> >
> > --
> > ~~ Cristina
> >
> > --
> > Before posting, please readhttp://watir.com/support. In short: search
> before you ask, be nice.
> >
> > You received this message because you are subscribed tohttp://
> groups.google.com/group/watir-general
> > To post: [email protected]
> > To unsubscribe: 
> > [email protected]<watir-general%[email protected]>
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: [email protected]
> To unsubscribe: 
> [email protected]<watir-general%[email protected]>
>



-- 
~~ Cristina

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to