开发者

Can a Rails app launch a rack app?

If I have a Ruby on Rails application running on my Apache shared server (with Mongrel), can I get it to launch/run another total separate Rack application?

Then could开发者_C百科 I possibly build a Rails app that manages other rails/rack apps? So it could tell what apps are running and start/stop them when I want. Or is each app trapped in it's own "sandbox"?


In Rails 3 you can setup the router to pass any Rack application to the matched route. See: Action Dispatch.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜