-1
  • sudo gem install cocoapods (I have done)

while checking, pod --version : I am getting following issue:

-i*Mac:~ bandishkumar$ pod --version -bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter:*** No such file or directory

Kalana
  • 5,631
  • 7
  • 30
  • 51
Bandish Kumar
  • 1,557
  • 1
  • 9
  • 13

1 Answers1

0

So, I have the same problem. Cocoapods was not finding my Ruby version. Instead of doing this:

sudo gem install cocoapods

You should do:

sudo gem install -n /usr/local/bin cocoapods

jazzHiver
  • 9
  • 2