Hi Joe,
I've added require watir-webbrowser. But it didn't seem to help. Now I
removed "requre 'watir'". Then it moved to something else, see below.
So, I tried with installing firewatir. I still got the same message. My
installed firewater was 1.9.4. Can this be a reason? I got the same error
with and without firewatir.
Thanks
Phuoc
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in
`to_specs': Could not find firewatir (= 1.9.2) amongst [builder-
3.0.0, childprocess-0.3.7, commonwatir-1.9.2, ffi-1.0.9-x86-mingw32,
hoe-2.10.0, minitest-1.6.0, multi_json-1.5.0, net-ssh-2.1.4,
nokogiri-1.5.0-x86-mingw32, rake-0.8.7, rautomation-0.6.3, rdoc-2.5.8,
rubygems-update-1.8.6, rubyzip-0.9.9, s4t-utils-1.0.4, sele
nium-webdriver-2.29.0, test-unit-2.3.0, user-choices-1.1.6.1, watir-1.9.2,
watir-webdriver-0.6.2, websocket-1.0.7, win32-api-1.4.8
-x86-mingw32, win32-process-0.6.5, windows-api-0.4.0, windows-pr-1.2.0,
xml-simple-1.1.0] (Gem::LoadError)
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:761:in `block
in activate_dependencies'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in `each'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in
`activate_dependencies'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:742:in
`activate'
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:209:in `rescue
in try_activate'
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:206:in
`try_activate'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:in
`rescue in require'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in
`require'
from C:/hms_auto_test/HMS/HMSCommon_SP3/HMSTestCase.rb:4:in `<top
(required)>'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from
C:/hms_auto_test/HMS/TestCases/HMS/HMS_Priority1_Add_TestCases.rb:4:in
`<top (required)>'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from C:/hms_auto_test/HMS/TestSuites/HMS_TestSuite.rb:9:in `<top
(required)>'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from ../../main/runHMSTests.rb:8:in `<main>'
On Wednesday, 6 February 2013 12:26:08 UTC+11, Joe Fl wrote:
>
> Hi,
>
> Try placing the require statement in the begin of your code. Sorry it's
> capitalized but my kindle fire kept auto correcting.
>
> Require 'WATIR-WEBDRIVER'
>
>
>
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.