Mar 20, 2021
Did you try running it with prefixed: arch -arch x86_64?
e.g.: arch -arch x86_64 bundle install mysql
But as Apple's installation of ruby seems to be deprecated anyways you should consider installing ruby via brew or similar before installing gems.