美文网首页
-bash: pod: command not found问题解

-bash: pod: command not found问题解

作者: iOS_大菜鸟 | 来源:发表于2019-06-06 14:49 被阅读0次

1.打开终端

输入$ cd ~

2.打开.bash_profile文件

输入$ open -e .bash_profile 

3.在.bash_profile中配置环境

export GEM_HOME=$HOME/Software/ruby

export PATH=$PATH:$HOME/Software/ruby/bin

保存关闭后

4.更新配置的环境变量

输入$ source .bash_profile

相关文章

网友评论

      本文标题:-bash: pod: command not found问题解

      本文链接:https://www.haomeiwen.com/subject/catuxctx.html