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

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

    In my case nothing of the above worked. I had ruby 2.3.0 installed and I had to downgrade to 2.0.0:

    gem update --system 2.0.0

提交回复
热议问题