Search code examples
cocoapods

This terminal won't let me run or install cocoa pods because I am on MacOS Catalina Beta?


I am interested in installing one of the GitHub repos that requires installing CocoaPods. There is no problem with my terminal (seems fine in a normal macOS version). I have one problem though: terminal is not installing CocoaPods, seemingly because I'm on the macOS Catalina beta?

I did install the pod 'Card' from Podfile which finished but after that Podfile closes. I am going running "pod install" on the terminal, then the only error that I get is:

-bash: /usr/local/bin/pod: / 
System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory". 

Does someone know how to fix this issue for macOS Catalina?


Solution

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

    worked for me