We are using [Passenger][1] to serve Rails application requests, which integrates into Apache (it's also known as mod_rails). This means there is not much configuration to keep Rails running.
Rails internally handles a lot of the different environments. To set which environment Rails is running in, simply set the RailsEnv
configuration in the apache vhost config file, which for this app is located at /etc/httpd/sites-available/application_name
. We currently have 4 environments, of which only the last two will be relevant for you - development, test, staging and production.