Help!! please- can not work with firewatir

Hi,

Please help on the following issues:(I have become helpless after tried about the whole days in finding the problems)

I have been using watir-webdriver but recently I found that I need to use firewatir.

So I installed it and with sudo gem install firewatir.

I can work with firewatir in my irb

But when I run the cucumber it shows the following error:

irfan@irfan-laptop:~/Desktop/nujoom$ cucumber features/nujoom_accomodation_adddeal_8.feature

Using the default profile…

You have a nil object when you didn’t expect it!

You might have expected an instance of Array.

The error occurred while evaluating nil.map (NoMethodError)

/usr/lib/ruby/1.8/rubygems.rb:220:in `activate’

/usr/lib/ruby/1.8/rubygems.rb:246:in `activate’

/usr/lib/ruby/1.8/rubygems.rb:245:in `each’

/usr/lib/ruby/1.8/rubygems.rb:245:in `activate’

/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem’

/var/lib/gems/1.8/gems/commonwatir-1.7.1/lib/watir/browser.rb:133:in `activate_gem’

/var/lib/gems/1.8/gems/commonwatir-1.7.1/lib/watir/browser.rb:108:in `support’

/var/lib/gems/1.8/gems/commonwatir-1.7.1/lib/watir/browsers.rb:9

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require’

/home/irfan/Desktop/nujoom/vendor/rails/activesupport/lib/active_support/dependencies.rb:155:in `require’

/var/lib/gems/1.8/gems/commonwatir-1.7.1/lib/watir/browser.rb:149

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require’

/home/irfan/Desktop/nujoom/vendor/rails/activesupport/lib/active_support/dependencies.rb:155:in `require’

/var/lib/gems/1.8/gems/commonwatir-1.7.1/lib/watir.rb:13

/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require’

/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require’

/home/irfan/Desktop/nujoom/vendor/rails/activesupport/lib/active_support/dependencies.rb:155:in `require’

/home/irfan/Desktop/nujoom/features/step_definitions/8_with_Firewatir.rb:2

/home/irfan/Desktop/nujoom/vendor/rails/activesupport/lib/active_support/dependencies.rb:144:in `load_without_new_constant_marking’

/home/irfan/Desktop/nujoom/vendor/rails/activesupport/lib/active_support/dependencies.rb:144:in `load’

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/rb_support/rb_language.rb:143:in `load_code_file’

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/runtime/support_code.rb:176:in `load_file’

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/runtime/support_code.rb:78:in `load_files!'

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/runtime/support_code.rb:77:in `each’

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/runtime/support_code.rb:77:in `load_files!'

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/runtime.rb:137:in `load_step_definitions’

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/runtime.rb:39:in `run!'

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/cli/main.rb:48:in `execute!'

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/…/lib/cucumber/cli/main.rb:21:in `execute’

/var/lib/gems/1.8/gems/cucumber-0.9.4/bin/cucumber:8

/var/lib/gems/1.8/bin/cucumber:19:in `load’

/var/lib/gems/1.8/bin/cucumber:19

Please I have become helpless…please help me as soon as possible.

But web-driver can work better.