开发者

How can I use Mongrel for my non-rails ruby webapp?

I've got a non-RoR but ruby webapp in the works.

So far, I've just been using requests, hacks, and mod_ruby; but I'd really like to try out Mongrel--which seems to work really well fo开发者_如何学Gor RoR sites.

I looked at the examples given in GitHub, and none of them does dynamic changing of content w/o having to restart Mongrel like you can do in RoR under dev mode.

How can I do this? (Just using load doesn't work.)


I use Sinatra with a Mongrel backend; hello world really is as easy as it says on the front page. I actually started with Sinatra, and then changed the server from webrick to mongrel after experimenting around with which gave better performance.

See this question for how that testing worked out.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜