I'm not sure what you mean. It does support the notion of different configurations for different environments. It even supports the idea of "inheritance". Look at README.rdoc in the "inheritance" and "using in a Rails app" sections.
Instead of using different configs for each environment, it would be nice to be able to set the environments in the yml file like the database.yml file that rails uses.
I'm not sure what you mean. It does support the notion of different configurations for different environments. It even supports the idea of "inheritance". Look at README.rdoc in the "inheritance" and "using in a Rails app" sections.
Instead of using different configs for each environment, it would be nice to be able to set the environments in the yml file like the database.yml file that rails uses.
Settingslogic supports this:
http://github.com/binarylogic/settingslogic/tree/master
app/config/application.yml
defaults: &defaults
development:
test:
production:
Ok, I added support for that in 1.1.0. See the section "environments" in README.rdoc. The gem should be built shortly on github.