开发者

Can a Rails app launch a rack app?

开发者 https://www.devze.com 2023-01-04 04:34 出处:网络
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?

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

精彩评论

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

关注公众号