Hi Pallavi, I'm getting the same error,after using rubygems it is giving error for watir. I wanna ask u that when you have done gem update --system and then installed a local watir gem,did any error appeared?i'm writting it in command prompt.
please check if i've done correctly or not. Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\parul.upadhyay>gem update --system Updating RubyGems ERROR: http://gems.rubyforge.org/ does not appear to be a repository ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2) (http://gems.rubyforge.org/yaml) C:\Documents and Settings\parul.upadhyay>gem install watir ERROR: http://gems.rubyforge.org/ does not appear to be a repository ERROR: could not find gem watir locally or in a repository Parul On Tue, Dec 9, 2008 at 12:17 PM, pallavi shashidhar <[EMAIL PROTECTED]>wrote: > I get the same problem even after require 'rubygems' error is at the line > where i have require 'watir' > > > On Tue, Dec 9, 2008 at 1:59 AM, anna barbara ostrowska < > [EMAIL PROTECTED]> wrote: > >> Hi there! >> Add to script require 'rubygems', I had the same problem and it helps :) >> >> 2008/12/8 pallavi shashidhar <[EMAIL PROTECTED]> >> >> Hi there, >>> I have installed Ruby 1.8.6-26 and did a gem update --system and then >>> installed a local watir gem . >>> I installed watir using "gem install watir -dir /watir1.5.6" >>> When i try to run the scripts, i get the following error: >>> "C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >>> `gem_original_require': no such file to load -- watir (LoadError) >>> from >>> C:/Ruby1.8.6-26/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >>> `require'" >>> >>> Need to know what could be the problem. >>> >>> Regards, >>> Pallavi >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---