I have installed node@16(v16.18.0) in macOS and npm version: 8.19.2.
12.614.0.1Followed some instructions to setup react-native environment in my devices using bellow steps are mentioned:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install watchmanbrew install rubysudo gem install cocoapodssudo gem install -n /usr/local/bin ffi cocoapodsAfter successfully installed all of the aboves I was going to create react-native app using npx react-native init AwesomeProject comand and faced Your Ruby version is 2.6.8, but your Gemfile specified 2.7.5 error is also given in attached file. please check it and help me to suggest the way to solved.
All of the resourses are mentioned below which I have follwed to solved this issues but i didn't solve it.
Below are the instructions which I have followed to solve this issue:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install watchmansudo gem install cocoapodssudo gem install -n /usr/local/bin ffi cocoapodsAfter the environment setup, it works perfectly.