Question

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

Était-ce utile?

La solution

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"
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top