You need to set the permissions to make it executable.
You may also need to use Get Info to set the app to open it with. If  
so, try setting it to open with terminal.
On Jul 31, 2007, at 9:15 PM, Ari Brown wrote:

> You need to use the command line. Open up Applications -> Utilities  
> -> Terminal, and the type 'cd Desktop'. then type 'ruby YOUR PROGRAM'
>
>
> HTH,
> Ari
>
>
> On Jul 31, 2007, at 9:54 PM, Alex DeCaria wrote:
>
>> I have a Ruby program on my Mac desktop and when I double click on  
>> it,
>> it doesn't run the program...it just opens up the text editor.   
>> How do I
>> make it run the program when I double click on it?
>> -- 
>> Posted via http://www.ruby-forum.com/.
>>
>>
>
> -------------------------------------------------------|
> ~ Ari
> crap my sig won't fit
>
>