[ruby-core:32745] ruby requires shebang for executable files?

From: Roger Pack <rogerdpack2@...>
Date: 2010-10-11 23:32:13 UTC
List: ruby-core #32745
Hi all.  I've noted that ruby typically tries to follow "bash like"
semantics for executing files, like
system("ls && ls") works like bash does.

However, I've also noticed that if I set a file to executable but do
not have a shebang, it does nothing--is this expected?
Thanks.
-r

In This Thread

Prev Next