Created
August 7, 2008 16:18
-
-
Save dsabanin/4439 to your computer and use it in GitHub Desktop.
Usage sample for http://github.com/railsmonk/configuration-file-plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CONF = ConfigurationFile.new("/some/config.yml") | |
| CONF.root == "/rails/xfiles" | |
| CONF.hooks_path == "/rails/xfiles/application/script/x" | |
| CONF.exception_recipients == ["sdmitry@gmail.com", | |
| "someone@else.com"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root: "/Users/railsmonk/xfiles" | |
| server_ip: "*" | |
| apache2_configs_directory: "/sw/etc/apache2/alpha.d" | |
| hooks_path: "#{root}/application/script/x" | |
| storage_path: "#{root}/storage" | |
| server_restart_marker: "/tmp/restart-server-please.flag.%d" | |
| ## Send emails about exceptions to | |
| exception_recipients: | |
| - sdmitry@gmail.com | |
| - someone@else.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment