I've updated my Mac to latest Mac Sierra version. Now, I'm facing a problem with my Xcode project (Xcode 8). I cannot run "pod init" (pod install and pod update is working fine with old project).
The terminal shows this error :
Les-MacBook-Pro:testPod victory1908$ pod init
/Library/Ruby/Site/2.0.0/rubygems.rb:270:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) (Gem::GemNotFoundException)
from /Library/Ruby/Site/2.0.0/rubygems.rb:298:in `activate_bin_path'
from /usr/local/bin/pod:22:in `<main>'
Les-MacBook-Pro:testPod victory1908$
What is this, and how can we init pod for a Xcode project in Mac Sierra?