문제

While updating RVM, i got this error:

bash: /contrib/ps1_functions: No such file or directory

Couldn't find any similar question. Does any one know how to solve it? Thanks

도움이 되었습니까?

해결책

I solved this problem this way:

My .bash_profile was like this:

PS1="\$(~/.rvm/bin/rvm-prompt) $PS1" && source "$rvm_path/contrib/ps1_functions" && ps1_set
export PATH="/Users/name/anaconda/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

and pasted the last line into the first:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
PS1="\$(~/.rvm/bin/rvm-prompt) $PS1" && source "$rvm_path/contrib/ps1_functions" && ps1_set
export PATH="/Users/name/anaconda/bin:$PATH"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top