rudionrails/yell — pull request #9 by nengxu (2012-10-22 20:20:43+00:00)
Title: Parse yell.yml with ERB first to allow advanced config.

I usually add this ERB block at the end of every yml config file to allow each developer to override the config using her own local copy, without interfering with the version committed into git:

# override the above with local settings from config/private/yell.yml
<%=
rails_root = Rails.root rescue (File.dirname(__FILE__) + '/..')
file = File.join(rails_root, "config", "private", "yell.yml")
IO.read(file) if File.exist?(file)
%>