# Change environment config at runtime?

**URL:** <https://www.ruby-forum.com/t/change-environment-config-at-runtime/114479>\
**Category:** Rails\
**Created:** [September 13, 2007, 6:18am UTC](https://www.ruby-forum.com/t/change-environment-config-at-runtime/114479 "2007-09-13T06:18:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![apie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecccb3/32.png) [@apie](https://www.ruby-forum.com/u/apie)\
**Post date:** [September 13, 2007, 6:18am UTC](https://www.ruby-forum.com/t/change-environment-config-at-runtime/114479/1 "2007-09-13T06:18:58Z")

</div>

Hi all,

I am guessing this cannot be done, and then I am thinking its ruby so it  
probably can be done.

In my production.rb under “environments/” I have this line:

config.action\_controller.consider\_all\_requests\_local = false

I would love to be able to change that at runtime…any thoughts?

Regards  
Ivor
