-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
guru: command not found (but it is installed, and in my GOPATH/bin) #19
Comments
you're correct GoGuru should by default use the same PATH that you see, could you please enable debug, restart sublime, try again and post the console logs here? to enable debug "goguru_debug" must be set to true at the user settings |
I belive u have an outdated version, try removing the package and reinstalling with the latest (0.1.11)(package control is available btw), |
Ok. Uninstalled and reinstalled. It works correctly after the reinstall, so I guess I was in fact out of date. One other interesting thing to note, the version now doesn't show up until you restart Sublime: The debug message after the reinstall was:
But the version is there after enabling debug and restarting Sublime:
And the version is still there after disabling debug and restarting again:
In any event, everything seems to work now, so thanks for your help :). |
Sure thing :). Just want to say I am loving the plugin. So much nicer than the ctags hack I was using before ;-). |
I am sorry to ask the same problem again, but I really tried a lot.
in terminal
in user setting file
|
I was having the same problem, with the same debug information being printed to the console by GoGuru. I resolved it by adding a PATH variable in goguru_env. It should be the path to the bin directory containing the Also worth mentioning: I extracted GoGuru to make debugging easier, and throwing some print statements into the plugin I found that env vars such as $HOME aren't necessarily expanded when you run GoGuru. In other words, specify the path from the root of your file system without using env vars. {
"goguru_debug": false,
"goguru_env": { // goguru doens't expand env vars for these paths
"GOPATH": "/Users/kylebebak/Code/go", "PATH": "/Users/kylebebak/Code/go/bin"
},
} @alvarolm |
@kylebebak it is |
When I
Ctrl + Shift + G
and run a command I get, for example, the following output:Interestingly, in the startup logs it lists my GoGuru version as
None
:If, in the Sublime console, I do:
I at least see that my
GOPATH/bin
is set correctly and in myPATH
, and if I:I can see that
guru
is in myGOPATH/bin
.Though I have no idea if the environment printed to the console is the same one the plugin sees :P.
The text was updated successfully, but these errors were encountered: