Open mbbroberg opened 8 years ago
@mjbrender Did you run this in your terminal after installing gvm??
source $HOME/.gvm/scripts/gvm
The installer expects you to run that in your terminal session, or to close all open terminals and re-open to use gvm.
@cmosetick thanks. I did close all terminals and re-opened. It seemed the install script has trouble adding source in my oh-my-zsh configuration. I have since solved the problem by adding it to my sourced paths (which I load indirectly through .zshrc
). The issues I can be sure of are:
1 - There was no error on installation, just the message above when I reran it. I'm not certain why this didn't execute:
if [ -z "$GVM_NO_UPDATE_PROFILE" ] && [ "$?" != "0" ]; then
echo "Unable to locate profile settings file(Something like $HOME/.bashrc or $HOME/.bash_profile)"
echo
echo " You will have to manually add the following line:"
echo
echo " $source_line"
echo
fi
2 - There was nothing written to my .zshrc
file.
This behavior may be rare, which is why I wanted to document it happening in my case. Glad to help narrow in on it too.
Same issue for me; no instructions to add any shell scripts anywhere.
same to me
Without previously installing gvm, I ran:
I have zsh as my default, so I then ran:
Which errors with:
ERROR: Already installed!
. Neither zsh nor bash havegvm
available to run. What's going wrong here?For reference, I run oh-my-zsh and I'm on
go version go1.5.1 darwin/amd64
. Thanks!