On Thu, 24 May 2001, J J wrote:
> Ruby is a killer language, and I hate to even ask, but:
> 
> Would it be possible, sometime in the future, for Ruby to try a .rb
> extension on a given filename? That way we could say:
> ruby myfile
> and myfile.rb would load and run. Myfile.rb would have the .rb extension so
> that emacs would know it's a Ruby file.

Why not just write a small sh wrapper script to check if the filename
ends in an .rb or not, appends it if necessary, and then launched ruby?

Let's just not go the route of Java where:

j"javac file.java" to compile a file, but
"java file" to execute the file ... this is pure silliness, IMO.