From: James Britt Date: 2007-09-29T23:32:51+09:00 Subject: Re: How to create a windows startup app Sal Syed wrote: > I want my RUby app to automatically be called when windows boots up ... > what is the best way to do this? Add a link to the program in the Start Up program group or add it to the registry (I forget the exact key, something along the lines of localmachine/software/microsoft/windows/current_version/run). In either case you'll need to be sure the calling script will correctly load the Ruby interpreter. If your app is not getting called correctly at boot time, try wrapping it in a .bat file: e.g. REM myapp.bat c:\ruby\bin\ruby.exe c:\path\to\your_app.rb I am probably going to compile it to an > exe... I would also like to know how to do this for Mac Ruby code does not get compiled to exe. There are some apps that will wrap Ruby code into self-extracting, self-executing files; see rubyscript2exe, for example -- James Britt "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin, when asked about static typing (and a tip of the hat to raganwald)