i recently had to reinstall everything on my computer and that included 
ruby, cucumber, and watir. in the past i had a library of scripts that 
worked for a very long time, however after the reinstallation everything 
seems broken. i suspect this is probably due to updated versions of ruby, 
cucumber and watir.

at the moment i am getting this error.

and its happening at Watir::Browser.start...

Starting browser...
cannot load such file -- watir/ie (LoadError)
D:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:51:in 
`require'
D:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:51:in 
`require'
C:/Users/xxxx/Desktop/root/features/step_definitions/rb/login/xxxxxx.rb:4:in 
`<top (required)>'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/rb_support/rb_language.rb:122:in
 
`load'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/rb_support/rb_language.rb:122:in
 
`load_code_file'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/runtime/support_code.rb:180:in
 
`load_file'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/runtime/support_code.rb:83:in
 
`block in load_files!'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/runtime/support_code.rb:82:in
 
`each'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/runtime/support_code.rb:82:in
 
`load_files!'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/runtime.rb:183:in
 
`load_step_definitions'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/runtime.rb:42:in
 
`run!'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/lib/cucumber/cli/main.rb:47:in
 
`execute!'
D:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.3/bin/cucumber:13:in `<top 
(required)>'
D:/Ruby193/bin/cucumber:23:in `load'
D:/Ruby193/bin/cucumber:23:in `<main>'

i was using Watir::IE.start before and i've changed it to Browser 
now...however i can't test it properly i think due to that error. seems 
like whether it's IE or Browser i'm getting the same error

i do realize there was a previous question that had the exact same issue 
https://groups.google.com/forum/#!topic/watir-general/FyXjKdTMScQ the 
problem is that was 2011 and it is now 2013 so when i tried to follow some 
of the steps in the solution i ran into some obstacles. i've tried 
uninstalling watir and reinstalling it. i've tried uninstalling commonwatir 
but it says i shouldn't due to dependency, i've tried uninstalling nokogiri 
but again it says i shouldn't due to dependency. i wasn't sure if i should 
go ahead and uninstall them anyways even if there's dependency issues 
because i don't know what have changed since 2011.

here is a list of my local gems

*** LOCAL GEMS ***

bigdecimal (1.1.0)
builder (3.2.2)
childprocess (0.3.9)
commonwatir (4.0.0)
cucumber (1.3.3)
diff-lcs (1.2.4)
ffi (1.9.0 x86-mingw32)
gherkin (2.12.0 x86-mingw32)
hoe (3.6.3)
io-console (0.3)
json (1.5.5)
mini_magick (3.5.0)
mini_portile (0.5.1)
minitest (2.5.1)
multi_json (1.7.7)
multi_test (0.0.1)
nokogiri (1.6.0 x86-mingw32)
rake (0.9.2.2)
rautomation (0.9.2)
rdoc (3.9.5)
rspec (2.14.0)
rspec-core (2.14.0)
rspec-expectations (2.14.0)
rspec-mocks (2.14.1)
rubygems-update (2.0.4)
rubyzip (0.9.9)
s4t-utils (1.0.4)
selenium-webdriver (2.33.0)
subexec (0.2.3)
user-choices (1.1.6.1)
watir (4.0.2 x86-mingw32)
watir-classic (3.7.0)
watir-webdriver (0.6.4)
websocket (1.0.7)
win32-api (1.4.8 x86-mingw32)
win32-process (0.7.2)
win32console (1.3.2 x86-mingw32)
win32screenshot (1.0.8)
windows-api (0.4.2)
windows-pr (1.2.2)
xml-simple (1.1.2)


prior to the above error i had 
Starting browser...
cannot load such file -- watir/loader (LoadError)
D:/Ruby193/lib/ruby/site_ruby/**1.9.1/rubygems/core_ext/**kernel_require.rb:
45:in `require'
D:/Ruby193/lib/ruby/site_ruby/**1.9.1/rubygems/core_ext/**kernel_require.rb:45:in
 
`require'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/commonwatir-4.0.0/lib/**watir.rb:1:in 
`<top (required)>'
D:/Ruby193/lib/ruby/site_ruby/**1.9.1/rubygems/core_ext/**kernel_require.rb:
110:in `require'
D:/Ruby193/lib/ruby/site_ruby/**1.9.1/rubygems/core_ext/**kernel_require.rb:110:in
 
`rescue in require'
D:/Ruby193/lib/ruby/site_ruby/**1.9.1/rubygems/core_ext/**kernel_require.rb:35:in
 
`require'
C:/Users/xxxxxx/Desktop/root/**features/step_definitions/**xxxxxxx.rb:3:in 
`<top 
(required)>'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**
cucumber/rb_support/rb_**language.rb:122:in `load'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**
cucumber/rb_support/rb_**language.rb:122:in `load_code_file'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**cucumber/runtime/
support_code.**rb:180:in `load_file'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**
cucumber/runtime/support_code.**rb:83:in `block in load_files!'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**
cucumber/runtime/support_code.**rb:82:in `each'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**cucumber/runtime/
support_code.**rb:82:in `load_files!'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**cucumber/runtime.rb:183:in
 
`load_step_definitions'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**cucumber/runtime.rb:42:in
 
`run!'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/lib/**cucumber/cli/main
.rb:47:in `execute!'
D:/Ruby193/lib/ruby/gems/1.9.**1/gems/cucumber-1.3.3/bin/**cucumber:13:in `<
top (required)>'
D:/Ruby193/bin/cucumber:23:in `load'
D:/Ruby193/bin/cucumber:23:in `<main>'


but i fixed it by uninstalling mini_magick and reinstalling mini_magick 
3.5.0 as suggested in http://www.minikb.net/kb/doc/disp.php?DFID=5141

any help is appreciated

-- 
-- 
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.


Reply via email to