Install Ruby

Install Ruby

  • Log in as administrator.
  • Download the One-Click Ruby Installer for Windows (v.1.8.6-26) from the Ruby One Click Installer Page .
    We recommend using the latest version of Ruby 1.8.6 with Watir 1.6.
    Watir's modal dialog support in Watir 1.5 required Ruby 1.8.2. This is no longer true and this feature now requires Ruby 1.8.6.
  • Run it (leave all choices at the default).
  • You have installed Ruby.
  • Installing Ruby 1.9.1
     
    Install the lastest 1.9.1 RubyInstaller and development kit from here: http://rubyforge.org/frs/?group_id=167
    (at the time of writing it is this: rubyinstaller-1.9.1-p243-rc1.exe)
    Note: The Ruby path is not set by default but there is an option to set it in the installer
    Type ruby -v in the command line which should return
    ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]
    You can have >1 versions of Ruby installed, but the first that is found in the path is used.
    Download 7-zip www.7-zip.org and unzip the devkit to here C:\ruby19

     



Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 06, 2008

    Bret Pettichord says:

    Page has been updated for Watir 1.6.2.

    Page has been updated for Watir 1.6.2.

  2. Jun 19, 2009

    testcg says:

    When I type update --system message display as "Oh no! Unable to find r...

    When I type update --system

    message display as "Oh no! Unable to find release notes!"

     RubyGems installed the following executables:

             C:/Ruby/bin/gem

    ' "Update --system' is not recognized as internal or external command.

    So unable to perform the proceess else more...