i am trying to run react-native iOS but when i’m opening vs code getting an error
Required ruby-2.7.4 is not installed.
To install do: ‘rvm install "ruby-2.7.4"’
i have system configuration
OS - macOS Monterey
MacBook Pro (Retina, 15-inch, Mid 2015)
Processor - 2.5 GHz Quad-Core Intel Core i7
Graphics - AMD Radeon R9 M370X 2 GB
Intel Iris Pro 1536 MB
2
Answers
My advice is to try with with "rbenv". RVM can be quite troublesome sometimes.
Installs with rbenv with brew:
Configure your shell:
Install the Ruby version you want:
Set the Ruby version
The error message you provided suggests that there’s an issue with the installation of the ffi gem, which is required by Ruby.
First, make sure that you have the latest version of Xcode and the Command Line Tools installed. You can install them by running the following commands in your terminal:
Next,try installing the ffi gem manually by running the following command:
Recognition Issue with Cocoapods Gem on M1 Mac : https://copyprogramming.com/howto/cocoapods-gem-not-being-properly-recognized-on-m1-mac