When I try to open A ruby file in the same directory something weird happens, like so :
C:\RubyFiles>file = File.open("Lottery.rb", "r")
'file' is not recognized as an internal or external command, operable program or batch file.
now I know this has nothing to do with the opening of the file itself, but I wanted to have an example ;)
(This has been resolved^) :D
But now I would like to know how to run the file itself? Can anyone help? Thanks in advance!