ugh today when I boot up gvm ate itself..

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ugh today when I boot up gvm ate itself..

rvanderwerf
gvm command not found.. I go to /home/.gvm/bin there is only gvm-init.sh, no gvm command. I rm -rf .gvm, and re-install latest version, same issue, gvm is not there. Any ideas what to do?
Reply | Threaded
Open this post in threaded view
|

Re: ugh today when I boot up gvm ate itself..

marco.vermeulen
Administrator
That's correct, there should only be a gvm-init.sh. GVM now works with functions, and all submodule functions can be found under ~/.gvm/src and ~/.gvm/ext.

Simply source the gvm-init.sh file and all should work fine.

Give that a try and let us know how that went.
---
Marco Vermeulen
Reply | Threaded
Open this post in threaded view
|

Re: ugh today when I boot up gvm ate itself..

rvanderwerf
w00t.. that fixed it again, however I have to keep running the 'source ~/.gvm/bin/gvm-init.sh' each time I start a shell if I want to use gvm :(  (Running Ubuntu 12.04 64 bit)
Reply | Threaded
Open this post in threaded view
|

Re: ugh today when I boot up gvm ate itself..

marco.vermeulen
Administrator
You shouldn't have to. You need to make sure that the following snippet is at the bottom of your .bash_profile or .profile file:

#THIS MUST BE AT THE END OF THE FILE FOR GVM TO WORK!!!
[[ -s "/home/marco/.gvm/bin/gvm-init.sh" && -z $(which gvm-init.sh | grep '/gvm-init.sh') ]] && source "/home/marco/.gvm/bin/gvm-init.sh"

This gets added to your bash profile on first installation.
---
Marco Vermeulen