From: Tommy Morgan Date: 2008-12-18T22:47:43+09:00 Subject: [ruby-core:20648] Re: ruby take non .rb files? On Thu, Dec 18, 2008 at 03:03:46PM +0900, Charles Oliver Nutter wrote: > Roger Pack wrote: >> I'm pretty sure this has been discussed before, but what would the >> reaction be to a patch that allows >> >> ruby filename >> >> To work when filename.rb exists? >> Thoughts? > > In JRuby's case, it would present a problem: run the .rb file or the > precompiled .class file? I suspect that a future 1.9 version that > supports precompiling would run into the same issue. > > - Charlie Wouldn't it be fairly easy to set up a priority for this situation though? Or am I misunderstanding the issue? If multiple versions are available, choose the one with the more recent modified date. I believe this is how emacs operates, right? --Tommy M. http://www.duwanis.com