rvm: command not found MAC OX

后端 未结 9 2212
不思量自难忘°
不思量自难忘° 2020-12-12 12:48

Really, I don\'t know what happened. Excuse me if this question is so NOOB, but I can\'t find the solution for this problem.

-bash: rvm: command not f

9条回答
  •  有刺的猬
    2020-12-12 13:20

    For a long-term solution, you should add this to your ~/.profile file:

    [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
    

    to simply load rvm into a single terminal, use

    source "$HOME/.rvm/scripts/rvm"
    

    supposedly this call is more cross-platform:

    . "$HOME/.rvm/scripts/rvm"
    

提交回复
热议问题