I am hoping to build a rails app that can create other rails apps and
run them. Basically the user fills in some parameters and a new rails
app is generated. Once generated, then the new application is running.
I have no problem putting together the code that generates the new
app. However, I am having trouble with figuring out how to run the new
applications. I see two main options:
Reconfigure my web server to support the new app. This is not my
preference because I would not like to change my code to support
different hosting environments (development/production).
Having my main rails app accept all the requests, then send them on
to the new app. I really don’t know how this would work. Is it
possible? Is it reasonable?
All of the apps will be low-traffic.