Try require File.dirname(__FILE__)+'/../***.rb Thanks. Wesley Chen.
On Fri, Feb 13, 2009 at 12:46 PM, malar <[email protected]> wrote: > > Hi, > I have to include a ruby program inside another ruby program. > i used the following command, > > require ' logintest.rb' > > But i am getting an error, > > c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/ > core_ext/module/introspection.rb:70:in `const_get': no such file to > load -- safariwatir (MissingSourceFile).. > > Thanks, > Malar > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
