Running Pod Setup Gives Me "Bad Interpreter: No Such File or Directory" Error

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

i fixed it by running brew install ruby

Facing issue - bad interpreter: No such file or directory when used pod update on MAC

Came to know that it is due to xcode installation issue. so have to agree to term

step 1: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

step 2: sudo gem install cocoapods (use sudo gem install cocoapods -n /usr/local/bin if you get permission issue)

step 3: pod update

Rails. 'Bundle install' gives the 'bad interpreter: No such file or directory' error after Ruby version upgrade (Windows)

Ok, I've found a solution.

First of all, do not use git bash terminal and use the cmd.exe instead. That gave me info on why bundle install doesn't work (something's wrong with 'mimemagic' gem).

I've run bundle update and it installed all necessary gems and now everything works fine.

/bin/bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory - error during CocoaPods installation

Finally someone solved it with Sublime Text editor, since converting the file with dos2unix and vim didn't work somehow. Please follow the link here.

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

You can fix it by running

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

How to solve “bad interpreter: No such file or directory” error in iOS?

Delete Pods directory from your project and run pod install command again.



Related Topics



Leave a reply



Submit