Thanks for this suggestion. When I do 'chmod 777 win32ole.so', then rerun the irb session, I get a new error, which says 'LoadError: No such file or directory'
This link shows my error messages: http://pastie.org/374756 On Jan 29, 9:01 am, Bret Pettichord <[email protected]> wrote: > You might need to set the execute bit of the win32ole.so file. > > Arco wrote: > > Hi Sai - Yes I did check the permissions, and searched the newsgroups > > for possible solutions. I tried running Watir on different cygwin > > platforms w/o success. > > > Could the bug be tied to a certain version of ruby?? > > > On Jan 28, 1:53 am, sai <[email protected]> wrote: > > >> Not sure how many have tried Watir with Cygwin but your problem seems > >> to be a permission one. > >> Can you try to change the permission by doing a chmod and check if it > >> is working? > > >> Also has anyone faced any problems in using Watir with PowerShell? > > >> Regards, > >> Sai > > >> On Jan 27, 6:19 pm, Arco <[email protected]> wrote: > > >>> Watir doesn't work for me. Sadly ironic, for a regression test > >>> tool... > > >>> Platform: WinXP / Cygwin > >>> Ruby: ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] > >>> Watir 1.6.2 > > >>> Here's what I do: > >>> - gem install watir > >>> - irb > > >>>>> require 'watir' > > >>> => true > > >>>>> x = Watir::IE.new > > >>> LoadError: Permission denied - /usr/lib/ruby/gems/1.8/gems/watir-1.6.2/ > >>> lib/watir > >>> /win32ole/win32ole.so > >>> from /usr/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ > >>> win32ole/win32ole > >>> .so > >>> from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > >>> 31:in `requi > >>> re' > >>> from /usr/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ > >>> win32ole.rb:5 > >>> from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > >>> 31:in `gem_o > >>> riginal_require' > >>> from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > >>> 31:in `requi > >>> re' > >>> from /usr/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb: > >>> 38 > >>> from (irb):2 > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
