title: rails new fails with 'couldn't set additional authenticated data' on macos
body: <p>I'm trying to get ruby on rails working on a new Mac with an M1 chip. Running <code>rails new</code> fails after <code>append .gitignore</code> with the following error</p>
  <pre><code>/Library/Ruby/Gems/2.6.0/gems/activesupport-6.0.3/lib/active_support/message_encryptor.rb:173:in `auth_data=': couldn't set additional authenticated data (OpenSSL::Cipher::CipherError)
  </code></pre>
  <ul>
  <li>MacOS version: 12.3.1 Monterey, Chip: Apple M1 Max</li>
  <li>Ruby version: 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]</li>
  <li>Rails version: 6.0.3</li>
  <li>Node version: 14.19.0</li>
  <li>Yarn version: 1.22.18</li>
  </ul>
  <p>Has anyone else run into this? My rage-googling hasn't come up with much of anything on this one</p>