From: Just Another Victim of the Ambient Morality Date: 2006-07-16T06:10:05+09:00 Subject: Re: Some questions about Ruby and it's environment... "Justin Collins" wrote in message news:44B881BE.2090807@seattleu.edu... > > This is on Windows...maybe that makes a difference in this case? I don't > know that Windows respects the #! > (I have no idea, I don't do any programming in Windows) I'm pretty sure the "#!" line is meaningless on Windows and the shell doesn't even bother looking for it. Indeed, it always struck me a little weird that every script knows exactly where the interpreter image is. What if it were to move? All your scripts will suddenly break! An annoying, albeit, unlikely scenario... The Windows command line certainly knows how to execute scripts (via "file associations" based on the extension) so I think it's up to Ruby to take advantage of this information, if possible...