-bash: pod: command not found问题解决

1.打开终端

输入$ cd ~

2.打开.bash_profile文件

输入$ open -e .bash_profile 


5076391-81c41492f98b98b2.png

3.在.bash_profile中配置环境

export GEM_HOME=$HOME/Software/ruby

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

保存关闭后


5076391-0196476e8ee3066a.png

4.更新配置的环境变量

扫描二维码关注公众号,回复: 6490634 查看本文章

输入$ source .bash_profile


5076391-ffa8598c60e9b6c2.png

转载于:https://www.jianshu.com/p/c068179bdae3

猜你喜欢

转载自blog.csdn.net/weixin_33947521/article/details/91248325
今日推荐