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

前端 未结 14 2209
野性不改
野性不改 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:57

    i fixed it by running brew install ruby

    0 讨论(0)
  • 2020-12-13 03:58

    I encountered this problem when upgrading to Mac OS High Sierra.

    This was my fix:

    sudo gem install cocoapods
    

    I found this answer on the CocoaPods issue list on Github.

    0 讨论(0)
提交回复
热议问题