How to run the Homebrew installer under Rosetta 2 on M1 Macbook

Got an answer from a developer in the Homebrew github https://github.com/Homebrew/brew/issues/9173 arch -x86_64 /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)” Use this to install packages: arch -x86_64 brew install <package> If you have not yet installed Rosetta 2 to emulate Intel CPUs on ARM Macs, you will get the error arch: posix_spawnp: /bin/bash: Bad CPU type in … Read more

Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)

For what it’s worth, before installing Homebrew you will need to install Rosetta2 emulator for the new ARM silicon (M1 chip). I just installed Rosetta2 via terminal using: /usr/sbin/softwareupdate –install-rosetta –agree-to-license This will install rosetta2 with no extra button clicks. After installing Rosetta2 above you can then use the Homebrew cmd and install Homebrew for … Read more

Ruby Bundle Symbol not found: _SSLv2_client_method (LoadError)

I just fixed a similar issue on my system. You need to rebuild your install of Ruby 2.1.2 and it will re-link against the newly-updated SSL. $ rbenv install 2.1.2 rbenv: /Users/ryan/.rbenv/versions/2.1.2 already exists continue with installation? (y/N) y Downloading ruby-2.1.2.tar.gz… -> http://dqw8nmjcqpjn7.cloudfront.net/f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635 Installing ruby-2.1.2… Installed ruby-2.1.2 to /Users/ryan/.rbenv/versions/2.1.2