Phlip
4/8/2009 4:06:00 AM
Newb Newb wrote:
> Hi...
> how to run window service using ruby.
> i have exe file for making it to run i have to click it on.
> but i want to make it to run using ruby.
>
> Kindly Help me get along with ruby...
If by 'window service' you mean the program starts when you turn on your desktop...
....put the ruby.rb file into your Start menu's Startup folder. Yes it will open
a little window. You can use rubyw.exe to fix that.
A true "windows service" is like a daemon. You run in a special place with
limited facilities, and it's generally no picnic for a beginner. I have run many
desktop apps from the Startup menu, including a lite Ruby wiki for my PIM, and I
never had any issue with it...