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

1.打开终端

输入$ cd ~

2.打开.bash_profile文件

输入$ open -e .bash_profile 


-bash: pod: command not found问题解决_第1张图片

3.在.bash_profile中配置环境

export GEM_HOME=$HOME/Software/ruby

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

保存关闭后


-bash: pod: command not found问题解决_第2张图片

4.更新配置的环境变量

输入$ source .bash_profile


-bash: pod: command not found问题解决_第3张图片

你可能感兴趣的:(-bash: pod: command not found问题解决)