cocoapods bad interpreter code example
Example 1: pod install ruby: bad interpreter: No such file or directory
sudo gem install cocoapods
Example 2: pod install not working bad interpreter: No such file or directory
sudo gem install -n /usr/local/bin ruby
sudo gem install -n /usr/local/bin cocoapods