I have create a new project using the command npx react-native init myProjectName when I navigate to the project it say
Unknown ruby interpreter version (do not know how to handle): >=2.6.10.
Here is the Gemfile
source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '>= 2.6.10'
gem 'cocoapods', '>= 1.11.3'
I have also installed multiple ruby version with rvm
apple@Apples-MacBook-Pro fastVpn % rvm list
ruby-2.7.4 [ x86_64 ]
=* ruby-2.7.5 [ x86_64 ]
ruby-2.7.6 [ x86_64 ]
but still have same issue
The ruby method in a Gemfile expects a specific Ruby version and cannot handle version constraints like '>= 2.6.10'.
Change
ruby '>= 2.6.10'
to
ruby '2.7.5'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With