1
Traceback (most recent call last):
    2: from /usr/local/bin/pod:23:in `<main>'
    1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)

Why?How to solve it,I don't want ruby rails rvm nth. How can I get pod install?

Jonas
  • 109,920
  • 93
  • 295
  • 369
Charlie Abdo
  • 103
  • 1
  • 6
  • Please don't [repost questiond](https://stackoverflow.com/questions/64409527/pod-install-giving-me-errors) – vadian Oct 18 '20 at 04:40

1 Answers1

0

sudo gem uninstall cocoapods

followed by

gem install cocoapods

fixed this issue for me