Don't "include Watir" Instead "ie=Watir::IE.new" kiran wrote: > Hi, > i have installed watir 1.6.2 and executed the following lines. > > require 'rubygems' > require 'watir' > include Watir > ie=IE.new > > But i am getting the folling error > >> ruby sa.rb >> > C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ > core_ext/module/introspection.rb:70:in `const_get': no such file to > load -- safariwatir (MissingSourceFile) > from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/core_ext/module/introspection.rb:70:in > `local_constants' > from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/core_ext/module/introspection.rb:70:in `each' > from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/core_ext/module/introspection.rb:70:in > `local_constants' > from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/core_ext/module/introspection.rb:68:in `each' > from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/core_ext/module/introspection.rb:68:in > `local_constants' > from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/core_ext/module/introspection.rb:86:in > `local_constant_names' > from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/dependencies.rb:498:in `new_constants_in' > from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/dependencies.rb:495:in `collect' > ... 6 levels... > from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:82 > from sa.rb:16 > >> Exit code: 1 >> > > > >
-- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
