Testing.

Friday, 7 September 2018

Selenium Webdriver tutorial: How to Install and set environment variable for ruby programming language on Windows-10.



  1. Download and install Ruby Installer 
  2. Set Environment Variable for Ruby

Download Ruby Installer. 


Go to downloaded location and double click on Ruby installer





Set Environment Variable for Ruby

  1. To set Environment variable first we need to check where ruby is installed
  2. To check go to the "C:\" and find ruby folder.
  3. Open Ruby folder and go to the bin folder and copy path of the ruby bin folder.
     For me its like this : C:\Ruby25-x64\bin

  • Right Click on “My Computer” => “Properties

  • Click on "Advance System settings"
  • Click on "Environment Variables"

  • Select "Path" and Click on "Edit" button in System Variables

  • Click on "New" button , "Paste" the ruby bin folder's Path here and and Click on "OK" button.

Now check whether ruby is installed successfully,  here we go to the command prompt and type the following command then hit the enter button

        Command:  ruby -v

No comments:

Post a Comment