Domanda

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

È stato utile?

Soluzione

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"
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top