Watirgrid-provider: `gem_original_require': no such file to load -- watir/loader (LoadError)

I am following:

This is Ok:
controller

but when I run:
provider -d watir -c druby://127.0.0.1:11235

it says the following error:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
gem_original_require': no such file to load -- watir/loader (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in require’
from /usr/lib/ruby/gems/1.8/gems/commonwatir-3.0.0/lib/watir.rb:1
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:60:in
gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:60:in require’
from /usr/lib/ruby/gems/1.8/gems/watirgrid-1.1.5/lib/provider.rb:30:in
initialize' from /usr/lib/ruby/gems/1.8/gems/watirgrid-1.1.5/lib/provider.rb:108:in new’
from
/usr/lib/ruby/gems/1.8/gems/watirgrid-1.1.5/lib/provider.rb:108:in
start' from /usr/lib/ruby/gems/1.8/gems/watirgrid-1.1.5/bin/provider:102 from /usr/bin/provider:23:in load’
from /usr/bin/provider:23

Can you post your gem list? Might be a version thing.

Joel P. wrote in post #1074440:

Can you post your gem list? Might be a version thing.

I also have this problems.My environment is like this:

G:\Ruby\RubyTech>ruby -v
ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]

G:\Ruby\RubyTech>gem list watir

*** LOCAL GEMS ***

watir (1.6.5)
watir-webdriver (0.6.8, 0.6.4)
watir_ext (0.0.7)

could u give me some advise to solve it.

Best regards.

Sorry, I don’t have a version of Ruby that old. Maybe someone else will
know about this kind of problem. On the surface it looks like there’s a
file in that location in one version but not in another version.