# Processing config files as ERB templates

**URL:** <https://www.ruby-forum.com/t/processing-config-files-as-erb-templates/142529>\
**Category:** Mongrel\
**Created:** [July 8, 2008, 10:07pm UTC](https://www.ruby-forum.com/t/processing-config-files-as-erb-templates/142529 "2008-07-08T22:07:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Everett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/838e76/32.png) [@Jeff\_Everett](https://www.ruby-forum.com/u/Jeff_Everett)\
**Post date:** [July 8, 2008, 10:07pm UTC](https://www.ruby-forum.com/t/processing-config-files-as-erb-templates/142529/1 "2008-07-08T22:07:49Z")

</div>

For various reasons it’s very handy for us to process our mongrel  
cluster configuration files as ERB templates during start up. I found a  
post from a couple of years ago on this mailing list about possibly  
adding that feature. But nothing seemed to come of it.

I’d like to submit a request for this feature to be added, but I can’t  
figure out how to go about it. Is this list the right place? Do I open a  
Trac ticket? Submit a patch to someone?

Any guidance on this would be appreciated.

---

<div class="post-metadata">

**Author:** ![Jeff\_Everett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/838e76/32.png) [@Jeff\_Everett](https://www.ruby-forum.com/u/Jeff_Everett)\
**Post date:** [July 10, 2008, 3:45am UTC](https://www.ruby-forum.com/t/processing-config-files-as-erb-templates/142529/2 "2008-07-10T03:45:29Z")

</div>

You can use the -S option and instead of using erb, you can write a  
ruby script. Or if you have files you really need to use erb on you  
can execute the erb in your -S script. I think this would solve your  
problem… if I understand correctly…
