Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pod install not working in react-native mac os catalina 10.15

Error: System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory

in mac os catalina

like image 466
SaGaR Patel Avatar asked Oct 19 '19 06:10

SaGaR Patel


People also ask

How do I update my react native pod?

Use pod install to install new pods in your project. Even if you already have a Podfile and ran pod install before; so even if you are just adding/removing pods to a project already using CocoaPods. Use pod update [PODNAME] only when you want to update pods to a newer version.

How do you install pods?

To install the pods, do one of the following: Place the caret at the code line where you add the pod, press ⌥ ⏎ , select Install, and press ⏎ . Click Install pods in the top-left corner of the editor window. From the main menu, select Tools | CocoaPods | Install.


1 Answers

You can fix it by running

sudo gem install -n /usr/local/bin cocoapods  
like image 160
Zeeshan Ansari Avatar answered Oct 05 '22 07:10

Zeeshan Ansari