running pod set up gives me “bad interpreter: No such file or directory”
问题 recently tried to do pod setup and i get this: -bash: /usr/local/bin/pod: /usr/local/opt/ruby/bin/ruby: bad interpreter: No such file or directory I followed Ray Wenderlich's guide to install cocoapods and i get this issue so i have no idea what is going on. 回答1: I encountered this problem when upgrading to Mac OS High Sierra. This was my fix: sudo gem install cocoapods I found this answer on the CocoaPods issue list on Github. 回答2: After upgraded to High Sierra, I got the same error, just