Provided that you have correctly inserted the ruby executable path in to your...

Provided that you have correctly inserted the ruby executable path in to your environmental variable you can simply run the script by ' ruby filename.rb' or if you made it executable and you are in the same directory where the script is type './filename.rb' to run the script.

Click Here!