Maxime you can your rails application as a window service if you are on 
wondows machine.There are two exe's that comes with windows tool kit wih 
name srvany.exe and instsrv.exe .You can use them to create a windows 
servcie something like below...

C:\Program Files\Resource Kit\Instsrv.exe railsapps C:\Program 
Files\Resource Kit\Srvany.exe


The above command will create a windows service with name railsapps ,but 
it just dummy it would not do anything.You have to follow below steps to 
make it work for you.



  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\railsapps\Parameters]
  Application=ruby
  AppParameters=script\server -b 192.168.247.49 -p 3000
  AppDirectory=D:\work\railsapps

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to