Every time I run a program in ruby, I need to prepend the "ruby" command e.g. ruby program_name.rb
Are there any alternatives to avoid this? Like directly writing program_name.rb
or just program_name
?
P.S. I am working on Windows(7) I have many files and want to run each file separately. Can't make a batch file for each ruby file.