so you want to know how to start a .rb (Ruby) File? Ok let's start.
At first you have to install Ruby: RubyInstallation.
After you've installed it, open the termial/cmd and type the following in: ruby fileName.rb. (You need to be in the right directory).
That's all :) I hope you now know how to start a Ruby File