Firstly download Ruby according to your system requirements with the help of this linkπ.
- Open Windows Powershell or Command Prompt.
- Copy this command in your Poweshell or Command Prompt and hit Enter.
ruby βv
If this show ruby version then every thing is fine.
- Now go to this location π (C:\Ruby26-x64\bin)
- Copy that path.
- Now go to this location π (Control Panel\All Control Panel Items\System).
- Click on Advance System Settings.
- Click on Environment Variables.
- Now go to User Varaibles.
- Double click on path, then click on new.
- Paste this path π (C:\Ruby26-x64\bin).
- Please again verify the installation by the help of above command.
- If everything is fine. Now you can download the codeπ.
- Extract the code folder and open in your favourite text-editor.
- For your satisfaction you can run the code. If everything is fine the output is shown in output screen.
- Now you can enjoy the codeπ₯.
Feel free to contribute, I love contributions, so please feel free to fix bugs, improve things, provide documentation. Just send a pull request.
For more information, please refer to the Ruby Programming docs.