I guess, there is a error here and I corrected as the following
# All should be done in my profile
brew install rbenv ruby-build
echo 'eval "$(rbenv init - zsh)"' >> ~/.zprofile
source ~/.zprofile
rbenv install 4.0.0
# rbenv global 4.0.0 # What is it?
ruby -v
gem install cocoapods
By the way,
brew install cocoapods
Where cocoapods is installed? if I choose to install cocoapods with brew
I supposed the result is the same if I would install cocoapods with
gem install cocoapods
Topic:
Developer Tools & Services
SubTopic:
General