Hi, I am trying to deploy RoR web app on windows server by using apache http server and mongrel (by Brian Hogan). Mongrel runs ok, but when I was trying to install mongrel as a windows service, I couldn''t execute ''mongrel_rails_service'' command. (I need to execute ''mongrel_rails_service install -n rails_app2 -p 4001'') I tried all possible gem install commands(gem install win32-service, gem install mongrel_service, gem install mongrel, etc...) , but only installed mongrel_rails and mongrel_rails.cmd in ruby\bin directory. Am I missing anything? thx, -- 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 -~----------~----~----~----~------~----~------~--~---
Bob Showalter
2007-Nov-14 20:32 UTC
Re: mongrel_rails_service is not recognized command error
On Nov 14, 2007 11:56 AM, Daniel Kim <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi, > > I am trying to deploy RoR web app on windows server by using apache http > server and mongrel (by Brian Hogan). Mongrel runs ok, but when I was > trying to install mongrel as a windows service, I couldn''t execute > ''mongrel_rails_service'' command. (I need to execute > ''mongrel_rails_service install -n rails_app2 -p 4001'')The format is: mongrel_rails service::install -N rails_app2 -p 4001 (note space between mongrel_rails and service, and double-colon between service and install) Documented here: http://mongrel.rubyforge.org/docs/win32.html HTH --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Brian Hogan
2007-Nov-15 00:20 UTC
Re: mongrel_rails_service is not recognized command error
Hi! Those articles are woefully out of date because they''ve been rolled into "Deploying Rails Applications". See http://www.pragprog.com/titles/fr_deployfor details. Most of those approaches aren''t really recommended anymore... Instead, you should consider Apache 2.2 + mod_proxy_balance, behind IIS if possible. Exact details are in the book, or you can contact me for specific help. On Nov 14, 2007 2:32 PM, Bob Showalter <showaltb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Nov 14, 2007 11:56 AM, Daniel Kim <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > > Hi, > > > > I am trying to deploy RoR web app on windows server by using apache http > > server and mongrel (by Brian Hogan). Mongrel runs ok, but when I was > > trying to install mongrel as a windows service, I couldn''t execute > > ''mongrel_rails_service'' command. (I need to execute > > ''mongrel_rails_service install -n rails_app2 -p 4001'') > > The format is: > > mongrel_rails service::install -N rails_app2 -p 4001 > > (note space between mongrel_rails and service, and double-colon > between service and install) > > Documented here: http://mongrel.rubyforge.org/docs/win32.html > > HTH > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Daniel Kim
2007-Nov-15 18:06 UTC
Re: mongrel_rails_service is not recognized command error
Thank you for your info. I just ordered the book. I used apache http server and mongrel and it seems to work for now. There are not many users for this project, so probably I will stay with this way for a while. Brian Hogan wrote:> Hi! > > Those articles are woefully out of date because they''ve been rolled into > "Deploying Rails Applications". See > http://www.pragprog.com/titles/fr_deployfor details. > > Most of those approaches aren''t really recommended anymore... Instead, > you > should consider Apache 2.2 + mod_proxy_balance, behind IIS if possible. > Exact details are in the book, or you can contact me for specific help.-- 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 -~----------~----~----~----~------~----~------~--~---