.

no such file to load — watir/ie (LoadError)

getting the following ruby error?

no such file to load — watir/ie (LoadError)

solve as follows:

gem update --system
gem install watir

then try running your ruby file again.

 

3 Responses to this post.

  1. Posted by mahindra on 16.11.10 at 1:22 pm

    Thanks for the information !!!. Helped to resolve the problem.

  2. Posted by camellia on 16.11.10 at 1:22 pm

    i had excute
    gem update –system
    gem install watir

    but I still gett the same ruby error
    irb(main):001:0> require "rubygems"
    => true
    irb(main):002:0> require "watir"
    => true
    irb(main):003:0> browser = Watir::IE.new
    LoadError: no such file to load — watir/ie
    from (irb):3
    from C:/Ruby192/bin/irb:12:in `<main>’
    irb(main):004:0>

  3. Posted by GC on 16.11.10 at 1:22 pm

    Above mention steps does not help me out.
    C:\Ruby187\scite\scite>gem update –system
    Latest version currently installed. Aborting.

    C:\Ruby187\scite\scite>gem update –system
    Latest version currently installed. Aborting.

    C:\Ruby187\scite\scite>gem install watir
    Successfully installed watir-2.0.4
    1 gem installed
    Installing ri documentation for watir-2.0.4…
    Installing RDoc documentation for watir-2.0.4…

    C:\Ruby187\scite\scite>irb
    irb(main):001:0> require ‘watir’
    LoadError: no such file to load — watir
    from (irb):1:in `require’
    from (irb):1
    irb(main):002:0>
    getting error.

What's your thoughts on this?

*

Protected by WP Anti Spam