dear all, I configured instant rails to start up when windows reboot. but I want to let a rails application to start up automatically with instant rails. How to do ? thanks. -Feng -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Curt (Work) Hibbs
2007-May-25 15:33 UTC
Re: How to auto-start a server for a Rails application with IR
On 5/17/07, Feng <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > dear all, > > > I configured instant rails to start up when windows reboot. > > but I want to let a rails application to start up automatically with > instant rails. > > How to do ?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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Curt (Work) Hibbs
2007-May-25 15:34 UTC
Re: How to auto-start a server for a Rails application with IR
On 5/25/07, Curt (Work) Hibbs <ml.chibbs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 5/17/07, Feng <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > dear all, > > > > > > I configured instant rails to start up when windows reboot. > > > > but I want to let a rails application to start up automatically with > > instant rails. > > > > How to do ? > > 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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
xilo15
2007-May-31 03:18 UTC
Re: How to auto-start a server for a Rails application with IR
Is there a way to install this .bat as a service? or hide the console window? On May 25, 10:34 am, "Curt (Work) Hibbs" <ml.chi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 5/25/07, Curt (Work) Hibbs <ml.chi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > On 5/17/07, Feng <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > dear all, > > > > I configured instant rails to start up when windows reboot. > > > > but I want to let a rails application to start up automatically with > > > instant rails. > > > > How to do ? > > > 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--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
xilo15
2007-May-31 03:22 UTC
Re: How to auto-start a server for a Rails application with IR
i want the rails app to startup whether i logonto the server or not. any suggestions? On May 30, 10:18 pm, xilo15 <xil...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there a way to install this .bat as a service? or hide the console > window? > > On May 25, 10:34 am, "Curt (Work) Hibbs" <ml.chi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On 5/25/07, Curt (Work) Hibbs <ml.chi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > On 5/17/07, Feng <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > > dear all, > > > > > I configured instant rails to start up when windows reboot. > > > > > but I want to let a rails application to start up automatically with > > > > instant rails. > > > > > How to do ? > > > > 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--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mohit Sindhwani
2007-May-31 09:30 UTC
Re: How to auto-start a server for a Rails application with IR
xilo15 wrote:> i want the rails app to startup whether i logonto the server or not. > any suggestionsYou could try to install and use Mongrel as a service. See: http://mongrel.rubyforge.org/docs/win32.html Cheers Mohit --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---