How to fix "error Your Ruby version is 2.6.8, but your Gemfile specified 2.7.6" in React Native
I encountered this issue when I was trying to spin up a new React Native project. This is how I fixed it.
First, update brew
brew update
Use brew to install ruby-build
brew install ruby-build
Use brew to install rbenv
brew install rbenv
The...
dera.hashnode.dev1 min read