autotest
bash: autotest: command not found
于是查看PATH:
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
于是打开~/.bashrc,添加了一行:
export PATH="$PATH:/var/lib/gems/1.8/bin"
然后再:
source .bashrc
搞定,在项目下敲:
autotest
autotest
bash: autotest: command not found
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
source .bashrc
autotest
没有评论:
发表评论