moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
10.13k stars 526 forks source link

Cannot set go version #169

Open AHaymond opened 8 years ago

AHaymond commented 8 years ago

After installing go 1.4.2, I try running gvm use go1.4.2 I get the following response:

$ gvm use go1.4.2
#=> sort: cannot read: is: No such file or directory
#=> grep: go1.4.2: No such file or directory
#=> ls: cannot access is: No such file or directory
#=> head: grep: go1.4.2cannot open ‘is’ for reading: No such file or directory
#=> : No such file or directory
#=> WARNING: go1.4.2 is not installed. Install it by running 'gvm install go1.4.2'

Yet when I run gvm list it shows it as being installed:

$ gvm list
#=>
#=> gvm gos (installed)
#=> 
#=>  go1.4.2
navneetk commented 8 years ago

It takes a long time to set if at all. Then normal linux commands like 'ls' do not work. Either taking infinite amount of time that you kill it or you get error "Argument list too long"