运行pod设置会给我“错误的解释器:没有这样的文件或目录".错误 [英] Running pod setup gives me "bad interpreter: No such file or directory" error

查看:42
本文介绍了运行pod设置会给我“错误的解释器:没有这样的文件或目录".错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我尝试进行 pod设置,但出现此错误:

Recently I tried to do pod setup and I get this error:

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

我按照Ray Wenderlich的指南安装CocoaPods,但遇到此问题,所以我不知道发生了什么.

I followed Ray Wenderlich's guide to install CocoaPods and I get this issue so I have no idea what is going on.

推荐答案

我通过运行 brew install ruby​​

这篇关于运行pod设置会给我“错误的解释器:没有这样的文件或目录".错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆