From: Diogo Lisboa Date: 2008-11-25T04:05:15+09:00 Subject: Re: Can you run a command line script with arguments, without typing 'ruby' first? chmod a+x my_script (restrict permissions if you want) ./my_script args or put my_script in your PATH, and just type `my_script args' On Mon, Nov 24, 2008 at 4:47 PM, Jayson Williams wrote: > Hi All, > > I would like to do this -> my_script arg1, arg2 > This doesn't seem to work when the script has arguments. > > But if I type -> ruby my_script arg1,arg2 > It works fine. > > Is there a way I can run the my_script without typing ruby each time? > Thanks > > -- Diogo