I was tried below commands in the terminal:
gem install cocoapods --user-install
sudo chmod +rx /usr/local/bin/
gem install -n /usr/local/bin cocoapods
sudo chown -R $(whoami):admin /usr/local
rbenv global system
sudo gem update --system
sudo gem install activesupport -v 4.2.6
sudo gem install -n /usr/local/bin cocoapods
sudo gem install cocoapods
But it still the same problem... Any ideas about this.
The below command work for me.
sudo gem install cocoapods -V
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