Setting up React Native on Apple Silicon MacBook Air M2
Starting point was following the guide here: https://reactnative.dev/docs/environment-setup for installing ruby I chose to use chruby to manage the version. however when creating a new project I was getting ruby version error ok lets install ruby 2.7.5 I was now getting build errors when trying to install ruby the trick was to add " -- --enable-shared " ruby-install ruby 2.7.5 -- --enable-shared