In this tutorial I will show you how to install Ruby.
Be sure to check those 2 checkboxes especially the first one so that the path to be able to run ruby on the command line will be added to your environment variables.
Open up a new command line window to try if Ruby is really installed.
To know the version of ruby installed:
You can also use irb command to perform simple commands in ruby: