The other day, when the M1 macbook pro arrived and I was building an environment with excitement saying "Now, this is a goodbye to the frustrating life of air!", A mysterious error appeared at the bundle install stage and it became more frustrating. It was.
As a result of various investigations while thinking "early new year ...", I was able to solve it, so I will share it as a memo.
I followed the steps below until I got stuck with an error. -Clone rails project locally from github ・ Bundle install And the gem that caused the error was as far as I could see:
- ffi
- sassc
In my environment, I solved it by the following procedure.
Finder> Applications> Terminal (right-click)> Get Info> Check "Open with Rosetta"
This was a solution I happened to find while doing other research. For the time being, I will post the support page of apple that seems to be related to this case below. If you need to install Rosetta on your Mac (https://support.apple.com/ja-jp/HT211861)
Recommended Posts