How do I enable the Ruby 2.3 `--enable-frozen-string-literal` globally in Rails?
<p>I am building a greenfield Rails application on top of Ruby 2.3, and I would like all Rails commands (e.g. <code>rails s</code>, <code>rails c</code>) and all Ruby commands (e.g. <code>rake do:something</code>) to use the new immutable-String functionality introduced in Ruby 2.3.  (See, e.g. <a href="https://wyeworks.com/blog/2015/12/1/immutable-strings-in-ruby-2-dot-3/" rel="noreferrer">https://wyeworks.com/blog/2015/12/1/immutable-strings-in-ruby-2-dot-3/</a>)</p>

<p>So, how do I pass that lovely <code>--enable-frozen-string-literal</code> Ruby option down to Ruby in all possible contexts where some command I issue bottoms out in Ruby?</p>

<p>Thanks in advance!</p>