On 16 September 2010 18:45, Howard Brazee <howard / brazee.net> wrote:
> Thanks.  That worked.  I didn't have to change the 1st line.  I
> wonder if it ran when I clicked on it from the Windows GUI - except it
> ran and finished without me seeing anything in the text program.

Yes, that is almost certainly what happened.

> How do I run that same program when I copy it to my Mac?

You do more or less the same thing, only on the Mac you'd open
Terminal, then cd to wherever you place the file. Note, however, that
on a Mac you'd use forward slashes instead of backslashes in the path;
e.g,

cd ~/Code/Ruby/

Charles