According to the error message ("em::LoadError: Could not find RubyGem
win32-process (>= 0.5.1) "), you need to install win32-process
(version number is >= 0.5.1)
first.

I don't why you need to install 1.8.2, I also met this issue when I
wanna use this special version to resolve module dialog box. But I
found the solution, I hope the following information can help you
resolve your issue.

[1]     ruby182-15.exe
[2]     win32-api-1.2.0-x86-mswin32-60.gem
[3]     win32-process-0.5.9.gem
[4]     windows-api-0.2.4.gem
[5]     windows-pr-0.8.7.gem
[5]     watir-1.5.2.gem
I have used the above package to resolve module dialog box and watir
( 1.5.2 and 1.5.3) works very well.

Wilson Xu


On Dec 22, 2:04 pm, "Parul Upadhyay" <parul.upadh...@infogain.com>
wrote:
> Hi all,
>
> I've install ruby 1.8.2 and watir 1.5.3.
>
> Now I'm getting this error,can anyone help me.
>
> irb(main):001:0> require rubygems
>
> NameError: undefined local variable or method `rubygems' for main:Object
>
>         from (irb):1
>
> irb(main):002:0> require 'rubygems'
>
> => false
>
> irb(main):003:0> require 'watir'
>
> Gem::LoadError: Could not find RubyGem win32-process (>= 0.5.1)
>
>         from c:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:194:in
> `report_activate_
>
> error'
>
>         from c:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:136:in
> `activate'
>
>         from c:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:162:in
> `activate'
>
>         from c:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in `each'
>
>         from c:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in
> `activate'
>
>         from
> c:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:23:in `re
>
> quire'
>
>         from (irb):3
>
> irb(main):004:0>
>
> Thanks
>
> Parul
>
>  image001.gif
> < 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to