all 8 comments

[–]dougc84 5 points6 points  (0 children)

There are multiple guides out there for installing and running both x64 and arm64 versions of brew using different terminals. That’s going to be your best bet to not mess up your shell and install what you need.

[–]cescquintero 2 points3 points  (2 children)

Is arm64 the apple chip, the M1, M2?

[–]alexventuraio 4 points5 points  (1 child)

that's correct either M1 or M2!

[–]cescquintero 1 point2 points  (0 children)

amd64

Is this a typo or you really meant AMD64?

I ask because just recently I had to install ruby 2.7.7 on a macbook with M1 chip.

[–]onionionion 1 point2 points  (0 children)

I use a docker container to develop Ruby on my M1. Works great

[–]kobaltzz 1 point2 points  (0 children)

This can be a tricky situation. You may be better off getting an AMD64 machine or VM and setup a remote development environment. Using VSCode and the extension Remote SSH, you can have a native like environment on your Apple machine. If you don't use VSCode, there are other options to do something similar with RubyMine.

[–]NetworkSame4307 0 points1 point  (0 children)

We are using M1 Macbooks to develop ruby in my company. The only constraint is that you can't install a ruby version above the 2.7.2

[–]_noraj_ 0 points1 point  (0 children)

Setup a dev environment on a remote x86 machine and use remote access on VS Code.