I want to use the same application in two environments (production and
development) on the same server (apache2 with fcgid) in different
Is there a way to specify RAILS_ENV inside my <Directory> directives? I
have the line
DefaultInitEnv RAILS_ENV production
in my httpd.conf but I want one of the directories to be development.
Setting the ENV var directly in environment.rb is not an option because
I update the production server via SVN but need to keep environment.rb
in my repository.