run ruby script
Open Command Prompt Open Files Go to where your file is located Click on the file adress bar Press CTRL + C In command prompy, type: cd and then, press CTRL + V, press enter after that Type: ruby '.\ type file name .rb' Press enter to run it Example: Location = C:\Users\Admin\Other Stuff - Local Drive\Projects Ruby program location = C:\Users\Admin\Other Stuff - Local Drive\Projects\First Ruby Program.rb >>> cd / >>> cd C:\Users\Admin\Other Stuff - Local Drive\Projects >>> ruby '.\First ruby program.rb'