Hi Suriya, try with this
>gem install watir -v1.6.2 If any error occurs then pls let me know .. Thanks On Wed, Oct 28, 2009 at 4:57 PM, ravisuri...@gmail.com < ravisuri...@gmail.com> wrote: > > Hi, > > 1. Installed Ruby (ruby186-26.exe) available at URL --- > http://rubyforge.org/frs/download.php/29263/ruby186-26.exe > > 2. Found that Ruby 186-26 was installed successfully. > > 3. Opened a command prompt. Entered the command: > gem update --system > > Observed the below written error: > > Updating RubyGems... > Bulk updating Gem source index for: http://gems.rubyforge.org > Attempting remote update of rubygems-update > Install required dependency builder? [Yn] y > Install required dependency session? [Yn] y > Install required dependency hoe-seattlerb? [Yn] y > Install required dependency hoe? [Yn] y > Install required dependency rubyforge? [Yn] y > Install required dependency json_pure? [Yn] y > ERROR: While executing gem ... (Gem::InstallError) > invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/ > rubyforge-2.0.3.gem > > > 4. Moving ahead entered the command: > > gem install watir > > Observed the below written error: > > > C:\>gem install watir > Install required dependency win32-process? [Yn] y > Install required dependency windows-pr? [Yn] y > Install required dependency windows-api? [Yn] y > Install required dependency win32-api? [Yn] y > Select which gem to install for your platform (i386-mswin32) > 1. win32-api 1.4.5 (ruby) > 2. win32-api 1.4.5 (x86-mswin32-60) > 3. Skip this gem > 4. Cancel installation > > 1 > Install required dependency test-unit? [Yn] y > Install required dependency hoe? [Yn] y > Install required dependency rubyforge? [Yn] y > ERROR: While executing gem ... (Gem::InstallError) > invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/ > rubyforge-2.0.3.gem > > C:\>gem install watir > Install required dependency win32-process? [Yn] y > Install required dependency windows-pr? [Yn] y > Install required dependency windows-api? [Yn] y > Install required dependency win32-api? [Yn] y > Select which gem to install for your platform (i386-mswin32) > 1. win32-api 1.4.5 (ruby) > 2. win32-api 1.4.5 (x86-mswin32-60) > 3. Skip this gem > 4. Cancel installation > > 2 > Install required dependency win32-api? [Yn] y > Select which gem to install for your platform (i386-mswin32) > 1. win32-api 1.4.5 (ruby) > 2. win32-api 1.4.5 (x86-mswin32-60) > 3. Skip this gem > 4. Cancel installation > > 2 > ERROR: While executing gem ... (Gem::InstallError) > invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/windows- > pr-1.0.8.gem > > C:\>gem install watir > Install required dependency win32-process? [Yn] y > Install required dependency windows-pr? [Yn] y > ERROR: While executing gem ... (Gem::InstallError) > invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/windows- > pr-1.0.8.gem > > C:\> > > > > > It was not possible to install neither Watir nor update the ruby gems. > > OS: Windows 2003 Server > Firewall was set to OFF > > *Note: The same was behavior was noticed in Windows XP SP3 too. > > > Please help me with, any other ways to overcome from these observed > behaviors? > > > > > > -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~---------~--~----~------------~-------~--~----~ 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 watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---