Mongrel_rails_service is not recognized command error

Hi,

I am trying to deploy RoR web app on windows server by using apache http
server and mongrel (by Brian H.). 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,

On Nov 14, 2007 11:56 AM, Daniel K. [email protected]
wrote:

Hi,

I am trying to deploy RoR web app on windows server by using apache http
server and mongrel (by Brian H.). 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

Hi!

Those articles are woefully out of date because they’ve been rolled into
“Deploying Rails Applications”. See
Pragmatic Bookshelf: By Developers, For Developers 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.

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 H. wrote:

Hi!

Those articles are woefully out of date because they’ve been rolled into
“Deploying Rails Applications”. See
Pragmatic Bookshelf: By Developers, For Developers 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.