From: Robert Klemme Date: 2004-04-09T22:04:14+09:00 Subject: Re: Seeking simple way to make foo.rb executable on Windows (e.g. !bin/sh...) "Its Me" schrieb im Newsbeitrag news:XoHbc.37006$o_.22902@fe1.texas.rr.com... > On unix I could put some shell prefix at the front of a file and make a > FOO.rb file directly executable. > > Is there any equivalent in Windows? I want to be able to put my simple > scripts onto my desktop or Start menu and run them. Needless to say I really > don't want to do any kind of executable "packaging". The easiest way is via the explorer: right click on some .rb file, "open with" and select the ruby interpreter - if the association hasn't been made already by the installer. robert