rubymacoscocoapodspodspec

Running pod setup gives me "bad interpreter: No such file or directory" error


Recently I tried to do pod setup and I get this error:

-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.


Solution

  • i fixed it by running brew install ruby