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

Antonio Adrian Chavez picture Antonio Adrian Chavez · Jun 13, 2019 · Viewed 29.6k times · Source

I am very interest to install one of the GitHub programs that request install cocoa pods. There is no problem with my terminal seem fine on the macOS normal version. I have one problem terminal is not install cocoa pods because I was on macOS Catalina beta?

I did install pod 'Card' from Podfile is finished but after that Podfile is close. I am going text "pod install" on the terminal, then the only error that I get. The error said

-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 these issue while I am on MacOS Catalina beta?

Answer

onthemoon picture onthemoon · Jun 14, 2019
sudo gem install -n /usr/local/bin cocoapods 

worked for me