From: Zouplaz Date: 2008-09-26T17:14:50+09:00 Subject: Re: Invocation of ruby interpreter for .rb files under bash le 25/09/2008 13:42, Zouplaz nous a dit: > Hello, this is not really related to the core language by itself but I > don't remember how to have the interpreter launched when typing foo.rb > or foo (if foo is the name of the script) under bash ? > > I remember that I have to put something like > #! /usr/ruby > > at the beginnin of the script but I don't remember the right syntax and > didn't found a Google way to express it. > Thanks all for you help, now the script files are executed the right way !