执行rvm get stable
遇到如下错误
Upgrade Notes:
/Users/alex/.zshrc:63:export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
* WARNING: Above files contains `PATH=` with no `$PATH` inside, this can break RVM,
for details check https://github.com/wayneeseguin/rvm/issues/1351#issuecomment-10939525
to avoid this warning append #PATH.
* No new notes to display.
RVM reloaded!
发现是zsh的BUG, 只要进入.zshrc
, 更改一下PATH就行了
#Before
PATH="/user/custom/path"
#Aftwe
PATH="$PATH:/user/custom/path"
网友评论