pod 命令-bash: --: command not found

简介: pod 命令-bash: --: command not found 升级完系统执行 pod update 或者 pod install命令的时候出现: -bash: --: command not found ,别着急是因为你的pod 文件路径错了。

pod 命令-bash: --: command not found

升级完系统执行 pod update 或者 pod install命令的时候出现:

-bash: --: command not found

,别着急是因为你的pod 文件路径错了。在终端执行

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

sudo chmod +rx /usr/local/bin

就好了

相关文章
|
4月前
|
Linux Shell Windows
4:Bash shell命令-步入Linux的现代方法
4:Bash shell命令-步入Linux的现代方法
53 0
|
6月前
|
关系型数据库 MySQL Shell
【Linux命令】-bash: mysql: command not found
【Linux命令】-bash: mysql: command not found
56 0
|
2月前
|
Linux Shell
mac/linux提示bash: telnet: command not found
mac/linux提示bash: telnet: command not found
|
4月前
|
Shell
-bash: lsb_release: 未找到命令
-bash: lsb_release: 未找到命令
|
4月前
|
Shell 应用服务中间件 开发工具
bash: vi: command not found
bash: vi: command not found
|
5月前
|
Shell
bash 反弹命令的浅分析
bash 反弹命令的浅分析
28 0
|
8月前
|
Shell Linux
10.1.5 查询指令是否为 Bash shell 的内置命令: type
10.1.5 查询指令是否为 Bash shell 的内置命令: type
61 0
|
8月前
|
Shell 测试技术 Python
如何在Bash Shell脚本中使用`exec`命令?
如何在Bash Shell脚本中使用`exec`命令?
132 0
|
9月前
|
Shell
bash: accelerate: command not found
bash: accelerate: command not found
1586 3
|
10月前
|
Ubuntu 关系型数据库 MySQL
提示-bash: command not found的解决方法集锦
提示-bash: command not found的解决方法集锦