The way to approach this depends too much on the details. Reading the file in memory and applying some simple regexp could suffice. On the other extreme you could redefine the problem by using environment variables in each call to worker_processes and having the values set externally. And there are surely other solutions in between.
Just some thoughts, the topic of this mailing list is Rails _core_ development, however. That is, things related to the development of Rails itself. Please repost your question to the rubyonrails-talk mailing list, IRC, or (gasp!) Stack Overflow. (This is a Ruby problem indeed, not Rails specific.) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.