How to create a windows service with Rails 3 and Ruby 1.9.2?

南笙酒味 提交于 2020-02-02 03:05:51

问题


How to create a windows service with Rails 3 and Ruby 1.9.2 using Mongrel?


回答1:


A few years ago mongrel_service extension to Mongrel used to provide functionality to run a Rails application (using mongrel_service) as a service.

Due some changes in Rails 3 and the lack of continious development in Mongrel, there has been no update of mongrel internals to handle the newer version of Rails properly

Because of that, mongrel_service can't be used to run a Rails 3 application with Mongrel as a service.

However, as author of the original mongrel_service, I'm close to release an updated library that will be able to run a Rails, Thin or any time of Ruby application as Windows Service.

This requires a little bit more testing so is not ready for public. Announcement will be posted at my blog and also RubyInstaller Google Group

ETA less than a week (after RailsConf completes)

Sorry for not been able to help you better than that.



来源:https://stackoverflow.com/questions/6034707/how-to-create-a-windows-service-with-rails-3-and-ruby-1-9-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!