Skip to content

Your Ruby version is 2.6.8, but your Gemfile specified 2.7.5 #75

Answered by fabOnReact
BraveEvidence asked this question in Q&A

You must be logged in to vote

I would refer to https://reactnative.dev/docs/environment-setup#cocoapods

inspect your $PATH variable with

echo $PATH

and verify what binary are you using when you run commands rbenv or sudo rbenv (which rbenv and rbenv which).

sudo rbenv global 2.7.5 => I get error saying rbenv: version `2.7.5' not installed

I would not use sudo with rbenv.
Go through the installation and troubleshooting steps in https://github.com/rbenv/rbenv

Replies: 2 comments 3 replies

You must be logged in to vote
3 replies
@BraveEvidence

@fabOnReact

@BraveEvidence

Answer selected by cortinico

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants