From: Luis Lavena Date: 2009-01-27T06:14:04+09:00 Subject: [ruby-core:21581] Re: [Feature #1046] request: ability to run without specifying .rb On Mon, Jan 26, 2009 at 6:03 PM, Roger Pack wrote: > Issue #1046 has been updated by Roger Pack. > > >> And could you please tell me why you felt it's be nice to be able to >> omit extension [on Windows]? The ruby command is invoked from command > > The answer is perhaps unsatisfying. I find the convenience of not having to include the extension on 'require' commands very appealing and would like to extend its use. I can't think of a reason why this would hurt ruby. Are there any drawbacks? And it would be useful, at least for me. One less tab to hit. I don't want to start a fight but I'm just giving feedback. At times, in Linux it would be convenient, too [mostly when you type in the name of a ruby script, and then have to ponder for a second whether or not it has an extension, or hit tab several times to try and discover it]. > I wonder why you don't add .rb to PATHEXT and define the association to make it automatically execute it for you? I have several ruby scripts in my %HOME%\bin that are pure ruby, no batch file around it and work perfectly. > Thanks for listening. > ---------------------------------------- > http://redmine.ruby-lang.org/issues/show/1046 > > ---------------------------------------- > http://redmine.ruby-lang.org > > -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup�ry