This is a minor Linux administrative issue having to do with deploying
rails applications. I am considering where to place the root of our
rails application and I would appreciate some suggestions, along with
supporting rationale, from those of you that have deployed a rails
appliction for general enterprise use. I am thinking along the lines of
using “/opt/ruby/rails/” or some variation on this but I
thought that I would ask first and see if there exists a concensus on
where these things should be placed.
The environments that I need to consider are these:
Prototype and Initial release: Rails Application + Apache 2 +
PostgreSQL 8.1 all on one machine.
Possible future deployment: Rails Application + Apache 2 + mod_fcgid on
one or more machines, PostgreSQL on a second.
It is also possible, albeit unlikely, that more than one rails
application will be deployed on a single machine, accepting the
constraints that special measures are needed to effect this