Dev setup on apple silicon
rsanheim opened this issue · 1 comments
rsanheim commented
Going to document some things here to get a working dev setup on m1 Macs with as much native ARM as possible:
Note: Everything will just work with Rosetta, which is the current recommended way of doing things until blocker(s) below are fixed.
Working
All the following work fine with a native ARM homebrew install:
- redis
- postgres@10
- yarn / node
- rbenv
- ruby (though see blockers below)
blockers
- The current problem is that we use the http gem relies on a parser that does not work on m1 Macs and sounds like it may be a heavy lift to replace -- see httprb/http#630 and httprb/http#639 for context.
References
- dual home-brew setup - helpful post by Sam Soffes
- https://forem.dev/joshpuetz/getting-forem-running-on-apple-silicon-pdp
rsanheim commented
This is all fixed now with the http gem update. I’ve been able to use a fully ARM native build for ruby and all dependencies.