running pod set up gives me “bad interpreter: No such file or directory”

前端 未结 14 2283
野性不改
野性不改 2020-12-13 02:53

recently tried to do pod setup and i get this:

-bash: /usr/local/bin/pod: /usr/local/opt/ruby/bin/ruby: bad interpreter: No such file or directo         


        
14条回答
  •  一个人的身影
    2020-12-13 03:33

    Same issue I was facing when I updated our system from Sierra to Mojave. Also works for Catalina

    The following steps worked:

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

    I got the help from the following link.

提交回复
热议问题