美文网首页
zsh 安装 rvm 遇到的问题

zsh 安装 rvm 遇到的问题

作者: 不思想者Alex | 来源:发表于2015-11-04 22:15 被阅读246次

执行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"

相关文章

网友评论

      本文标题:zsh 安装 rvm 遇到的问题

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