From: Tim Becker Date: 2009-02-18T17:42:21+09:00 Subject: Re: bang is not work!! --001517478c0c6b4a2a04632d66a4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > So your not supposed to just type ls at a prompt? > You shouldn't have '.' (the current) directory in the PATH where the shell looks for programs to execute, because someone could replace the "real" program with one in the current directory. To the original problem: a.) either ruby is not in /usr/local/bin -> use `#!/usr/bin/env ruby` instead b.) '.' is not in the PATH -> don't change PATH, call your script using `./ruby_test` c.) you're script is not executable -> call `chmod +x ruby_test` or any combination of the above. -tim --001517478c0c6b4a2a04632d66a4--