As far as I know watir only works on windows with 1.8.6p111. Vapir (fork of watir) works with all current ruby versions from 1.8.6 onward, including 1.9.2 - http://vapir.org/
On Tue, Aug 24, 2010 at 17:20, lawcab <law...@gmail.com> wrote: > Has anyone tried watir 1.6.5 with ruby 1.9.2-p0? > > I got this big error : > > See below. > Thanks! > > > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/win32- > api-1.4.6-x86-mingw32/lib/win32/api.so: [BUG] Segmentation fault > ruby 1.9.2p0 (2010-08-18) [i386-mingw32] > > -- control frame ---------- > c:0031 p:-5419484 s:0102 b:0102 l:000101 d:000101 TOP > c:0030 p:---- s:0100 b:0100 l:000099 d:000099 CFUNC :require > c:0029 p:0013 s:0096 b:0096 l:000095 d:000095 METHOD <internal:lib/ > rubygems/custom_require>:29 > c:0028 p:0011 s:0091 b:0091 l:000090 d:000090 TOP C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/ > windows/api.rb:1 > c:0027 p:---- s:0089 b:0089 l:000088 d:000088 FINISH > c:0026 p:---- s:0087 b:0087 l:000086 d:000086 CFUNC :require > c:0025 p:0013 s:0083 b:0083 l:000082 d:000082 METHOD <internal:lib/ > rubygems/custom_require>:29 > c:0024 p:0011 s:0078 b:0078 l:000077 d:000077 TOP C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/windows-pr-1.0.9/lib/ > windows/error.rb:12 > c:0023 p:---- s:0076 b:0076 l:000075 d:000075 FINISH > c:0022 p:---- s:0074 b:0074 l:000073 d:000073 CFUNC :require > c:0021 p:0013 s:0070 b:0070 l:000069 d:000069 METHOD <internal:lib/ > rubygems/custom_require>:29 > c:0020 p:0011 s:0065 b:0065 l:000064 d:000064 TOP C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/win32-process-0.6.2/lib/ > win32/process.rb:1 > c:0019 p:---- s:0063 b:0063 l:000062 d:000062 FINISH > c:0018 p:---- s:0061 b:0061 l:000060 d:000060 CFUNC :require > c:0017 p:0013 s:0057 b:0057 l:000056 d:000056 METHOD <internal:lib/ > rubygems/custom_require>:29 > c:0016 p:0011 s:0052 b:0052 l:000051 d:000051 TOP C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/watir-1.6.5/lib/watir/ > ie-process.rb:1 > c:0015 p:---- s:0050 b:0050 l:000049 d:000049 FINISH > c:0014 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :require > c:0013 p:0013 s:0044 b:0044 l:000043 d:000043 METHOD <internal:lib/ > rubygems/custom_require>:29 > c:0012 p:0083 s:0039 b:0039 l:000038 d:000038 TOP C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/watir-1.6.5/lib/watir/ > ie.rb:45 > c:0011 p:---- s:0037 b:0037 l:000036 d:000036 FINISH > c:0010 p:0009 s:0035 b:0035 l:000026 d:000034 EVAL (eval):1 > c:0009 p:---- s:0033 b:0033 l:000032 d:000032 FINISH > c:0008 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC :eval > c:0007 p:0038 s:0027 b:0027 l:000026 d:000026 METHOD C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/ > watir/browser.rb:89 > c:0006 p:0019 s:0023 b:0022 l:000021 d:000021 METHOD C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/ > watir/browser.rb:79 > c:0005 p:0079 s:0018 b:0018 l:000017 d:000017 METHOD C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/ > watir/browser.rb:142 > c:0004 p:0011 s:0013 b:0013 l:000012 d:000012 METHOD C:/Utilities/ > Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/ > watir/browser.rb:64 > c:0003 p:0043 s:0010 b:0010 l:0015b4 d:0011bc EVAL C:/Documents and > Settings/lcabal/My Documents/NetBeansProjects/MultiPayment/lib/ > multiPayment.rb:10 > c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH > c:0001 p:0000 s:0002 b:0002 l:0015b4 d:0015b4 TOP > --------------------------- > -- Ruby level backtrace information > ---------------------------------------- > C:/Documents and Settings/lcabal/My Documents/NetBeansProjects/ > MultiPayment/lib/multiPayment.rb:10:in `<main>' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/ > commonwatir-1.6.5/lib/watir/browser.rb:64:in `new' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/ > commonwatir-1.6.5/lib/watir/browser.rb:142:in `set_sub_options' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/ > commonwatir-1.6.5/lib/watir/browser.rb:79:in `set_options' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/ > commonwatir-1.6.5/lib/watir/browser.rb:89:in `klass' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/ > commonwatir-1.6.5/lib/watir/browser.rb:89:in `eval' > (eval):1:in `klass' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/ > watir-1.6.5/lib/watir/ie.rb:45:in `<top (required)>' > <internal:lib/rubygems/custom_require>:29:in `require' > <internal:lib/rubygems/custom_require>:29:in `require' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/ > watir-1.6.5/lib/watir/ie-process.rb:1:in `<top (required)>' > <internal:lib/rubygems/custom_require>:29:in `require' > <internal:lib/rubygems/custom_require>:29:in `require' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/win32- > process-0.6.2/lib/win32/process.rb:1:in `<top (required)>' > <internal:lib/rubygems/custom_require>:29:in `require' > <internal:lib/rubygems/custom_require>:29:in `require' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/windows- > pr-1.0.9/lib/windows/error.rb:12:in `<top (required)>' > <internal:lib/rubygems/custom_require>:29:in `require' > <internal:lib/rubygems/custom_require>:29:in `require' > C:/Utilities/Programs/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/windows- > api-0.4.0/lib/windows/api.rb:1:in `<top (required)>' > <internal:lib/rubygems/custom_require>:29:in `require' > <internal:lib/rubygems/custom_require>:29:in `require' > > [NOTE] > You may have encountered a bug in the Ruby interpreter or extension > libraries. > Bug reports are welcome. > For details: http://www.ruby-lang.org/bugreport.html > > > This application has requested the Runtime to terminate it in an > unusual way. > Please contact the application's support team for more information. > > -- > 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