3 ms·
so I have an old MacBook Air at my office and the new M1 Air at home. Last night I was trying to run something from our internal "ruby cli" and that meant the d
by andrewfromx 6y ago
so I have an old MacBook Air at my office and the new M1 Air at home. Last night I was trying to run something from our internal "ruby cli" and that meant the dreaded "bundle install" command. I'll be honest, I was nervous. But I thought back to that line in Godfather "i want you to use all your powers, and all your skills" and I got into a headspace of, I was going to get this to run or die trying. There was issues with many gems h3, openssl, pg, etc. I finally got past them but then running the cli still had openssl issue. I tried to switch to using rvm and then rbenv but both failed with zlib issues. So then I tried VirtualBox but oh yeah, on M1 you need https://mac.getutm.app/ https://mac.getutm.app/ and I got a few linux distros running. But all had different issues with ruby. Long story short, i failed, but omg any complex ruby project with a big gemfile and a new processor == issues. +1 vote for this cli being writen in go or rust and a binary distributed vs. making each consumer of this cli have to "compile" the entire project.
- runeks 6y agoDid you try doing it after doing arch -x86_64 /bin/bash ?
- andrewfromx 6y agoah, i remember reading that in some thread and I did try it but probably not correctly. Thanks!