如何使用Rails 3和Ruby 1.9.2创建Windows服务? [英] How to create a windows service with Rails 3 and Ruby 1.9.2?

查看:63
本文介绍了如何使用Rails 3和Ruby 1.9.2创建Windows服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Mongrel使用Rails 3和Ruby 1.9.2创建Windows服务?

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

推荐答案

几年前,对Mongrel的mongrel_service扩展用于提供功能来运行Rails应用程序(使用mongrel_service)作为服务.

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

由于Rails 3的某些更改以及Mongrel缺乏持续的开发,因此尚未更新mongrel的内部组件以正确处理较新版本的Rails

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

因此,不能使用mongrel_service以Mongrel作为服务来运行Rails 3应用程序.

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

但是,作为原始mongrel_service的作者,我即将发布一个更新的库,该库将能够将Rails,Thin或任何时候的Ruby应用程序作为Windows 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不到一周(RailsConf完成后)

ETA less than a week (after RailsConf completes)

很抱歉,我们无法为您提供更好的帮助.

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

这篇关于如何使用Rails 3和Ruby 1.9.2创建Windows服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆