I'm trying to get ruby on rails working on a new Mac with an M1 chip. Running rails new
fails after append .gitignore
with the following error
/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)
Has anyone else run into this? My rage-googling hasn't come up with much of anything on this one
Instead of using system ruby, I would suggest using rbenv to install gems to avoid version conflicts. Then you can use export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
to set the correct SSL version