- Download and install Ruby Installer
- Set Environment Variable for Ruby
Download Ruby Installer.
Go to downloaded location and double click on Ruby installer
Set Environment Variable for Ruby
- To set Environment variable first we need to check where ruby is installed
- To check go to the "C:\" and find ruby folder.
- 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