Configuration values (e.g. 3rd party API key/secret, SMTP config, some paths) can be stored in environment (e.g. .bash_profile file) or config/environment folder (e.g. config/environments/development.rb and etc.).
Are there any reasons why one or the other solution is preferred? It seems that using config/environments is a little easier because everything will be tracked in CVS. I'm wondering if there are any reasons why environment variables should be used instead of specifying values directly in config/environments.