Skip to content

Instantly share code, notes, and snippets.

@dsabanin
Created August 7, 2008 16:18
Show Gist options
  • Select an option

  • Save dsabanin/4439 to your computer and use it in GitHub Desktop.

Select an option

Save dsabanin/4439 to your computer and use it in GitHub Desktop.
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"]
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