type a command to check the version of Ruby (this works on Unix/Linux and Windows):
$ ruby -v # or: $ ruby --version