Your Ruby version is 2.6.8, but your Gemfile specified 2.7.5 #75
-
I just created a new
I get an error saying
When I tried to upgrade my ruby version via
Here is what I tried
What else should I do to resolve this error |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I would refer to https://reactnative.dev/docs/environment-setup#cocoapods inspect your $PATH variable with
and verify what binary are you using when you run commands rbenv or sudo rbenv (
I would not use sudo with rbenv. |
Beta Was this translation helpful? Give feedback.
-
This is how is resolved the issue. First uninstall Then follow this Then add
as the last line in your Then run
|
Beta Was this translation helpful? Give feedback.
I would refer to https://reactnative.dev/docs/environment-setup#cocoapods
inspect your $PATH variable with
and verify what binary are you using when you run commands rbenv or sudo rbenv (
which rbenv
and rbenv which).I would not use sudo with rbenv.
Go through the installation and troubleshooting steps in https://github.com/rbenv/rbenv