Just tried the same commands and it was working for me. I had only
1.6.6.rc1 installed on my machine. What did you have? If you installed
Watir, did it install FireWatir also?

From that error it seems that you don't have firewatir 1.6.6rc1 installed...

What output do you see for `gem which firewatir` command?

This is my output:
C:\Users\jarmo>gem which firewatir
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.6.rc1/lib/firewatir.rb

Jarmo

On Mon, Sep 27, 2010 at 5:37 PM, Željko Filipin
<[email protected]> wrote:
> On Mon, Sep 27, 2010 at 4:05 PM, Jarmo <[email protected]> wrote:
>> Ok, but try if the actual functionality itself seems to be working or not
>> :)
>
> Works fine on Mac, but I get this on Windows:
>
> irb(main):001:0> require "rubygems"
> => true
> irb(main):002:0> require "watir"
> => true
> irb(main):003:0> Watir::Browser.default = "firefox"
> => "firefox"
> irb(main):004:0> Watir::Browser.new
> LoadError: (eval):1:in `klass': no such file to load -- firewatir
>         from
> C:/Ruby187/lib/ruby/gems/1.8/gems/commonwatir-1.6.6.rc1/lib/watir/browser.rb:89:in
> `klass'
>         from
> C:/Ruby187/lib/ruby/gems/1.8/gems/commonwatir-1.6.6.rc1/lib/watir/browser.rb:65:in
> `eval'
>         from
> C:/Ruby187/lib/ruby/gems/1.8/gems/commonwatir-1.6.6.rc1/lib/watir/browser.rb:89:in
> `klass'
>         from
> C:/Ruby187/lib/ruby/gems/1.8/gems/commonwatir-1.6.6.rc1/lib/watir/browser.rb:65:in
> `new'
>         from (irb):4
>
>> Is there a ticket in JIRA about unittests from gems?
>
> Looking right now.
>
> If you have a minute, I am on IRC.
>
> Željko
>
> _______________________________________________
> Wtr-development mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-development
>
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to