Dice Bag is a library of rake tasks for configuring web apps in the style of The Twelve-Factor App. Configuration values are picked up from the environment and pushed into appropriate configuration files via templates. Pre-packaged templates for common configuration files are provided.