From: Mohit Sindhwani Date: 2010-11-02T01:48:51+09:00 Subject: Re: What does ruby.exe do? On 2/11/2010 12:16 AM, Jeremy Bopp wrote: > On 11/1/2010 11:13 AM, Mohit Sindhwani wrote: >> On 1/11/2010 12:34 PM, Jeremy Bopp wrote: >>> For instance, I can name a file myscript.jeremy and configure it so that >>> it will be run with Ruby, Python, Perl, or some other interpreter of my >>> choosing. I could then create another file named myotherscript.jeremy >>> and set it up to run using a completely different interpreter. >>> >>> This is not possible under Windows. The .jeremy extension can only be >>> associated with a single program, so one of those files would have to be >>> run by manually calling the correct program with the file as an argument. >> Or you could associate .jeremy with a program that parses the "shebang" >> line :) > That's actually a great idea. Can you recommend such a program? It > should be fairly easy to write one, but no sense reinventing the wheel. :-) I've never used one for it, but I was just a bit offended by the "This is *not possible* under Windows." line... so, I suggested the first thing that came to mind. But, if you do write one, I'd love to have a copy :) Cheers, Mohit. 2/11/2010 | 12:48 AM.