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
Put a Link in a Flash[:Notice]
In Ruby on Rails, After Send_File Method Delete the File from Server
(Ruby) Getting Net::Smtp Working with Gmail...
How to Run Ruby and Git Commands in One Place on Windows
How to Know When to "Refresh" My Model Object in Rails
Guard with Rspec on Rails 4 Giving a Lot of Warnings
How to Run a Ruby Script Using Rbenv with Cron
Size, Length and Count in Rails
Creating a Model That Has a Tree Structure
Error: Failed to Build Gem Native Extension When Installing Rails on MAC Mountian Lion Os
Using Custom To_JSON Method in Nested Objects
Do Ruby 'Require' Statements Go Inside or Outside the Class Definition
Best Practice for Rails App to Run a Long Task in the Background
Devise - How to Change Setting So That Email Addresses Don't Need to Be Unique