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 <fkn...@gmail.com> 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 mind http://tomayko.com/writings/require-rubygems-antipattern
>
> Good luck,
>
> FK
>
> On Mon, May 10, 2010 at 4:20 PM, Cristina <cristina.toro...@gmail.com>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 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: watir-general@googlegroups.com
>> To unsubscribe: 
>> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>
>>
>
>  --
> 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: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>
>



-- 
~~ 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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to