How to auto-start a server for a Rails application with IR

Create a cmd or bat file that:
- adds the ruby\bin directory of IR to your path
- moves into your Rails app's base directory
- runs the command: "mongrel_rails start"

Curt

Oh yeah... then add a shortcut to that cmd file to your start-up folder!

Curt

Is there a way to install this .bat as a service? or hide the console
window?

i want the rails app to startup whether i logonto the server or not.
any suggestions?

xilo15 wrote:

i want the rails app to startup whether i logonto the server or not.
any suggestions

You could try to install and use Mongrel as a service. See: http://mongrel.rubyforge.org/docs/win32.html
Cheers
Mohit