This is probably a really silly question bu tI can't seem to find an answer since I'm apparently failing on keywords.
You know how you can run commands from the commandline in linux if you put a line on the top of your .rb file so you don't have to type ruby myfile.rb
all the time and can just do ./myfile.rb ? Is it possible to have the same thing on a windows environment? I use git bash as my shell most of the time and have a lot of cygwin binaries installed. It's just that the general method is to put that line on top and then chmod the file, which isn't really an option.