DisposaBoy / GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
MIT License
3.42k stars 302 forks source link

another missing GOPATH #563

Closed arxell closed 5 years ago

arxell commented 10 years ago

➜ ~ cat .zprofile export PATH=$PATH:/usr/local/bin export PATH=$PATH:/usr/local/go/bin export GOPATH=$HOME/repo/go export GOROOT=/usr/local/go

➜ ~ /bin/zsh --login -c "echo $GOPATH" /Users/Ogorodnikov/repo/go

GoSublime Sanity Check

| install state: done | sublime.version: 3065 | sublime.channel: stable | about.ann: a14.02.25-1 | about.version: r13.12.26-3 | version: r13.12.26-3 | platform: osx-x64 | ~bin: ~/Library/Application Support/Sublime Text 3/Packages/User/GoSublime/osx-x64/bin | margo.exe: ~bin/gosublime.margo_r13.12.26-3_go1.3.3.exe (ok) | go.exe: /usr/local/go/bin/go (ok) | go.version: go1.3.3 | GOROOT: /usr/local/go | GOPATH: ~/repo/go | GOBIN: (not set) (should usually be (not set)) | set.shell: ['/bin/zsh', '--login', '-c', '$CMD'] | env.shell: /bin/zsh | shell.cmd: ['/bin/zsh', '--login', '-c', '${CMD}'] | error log: \ 2014-10-16 17:37:38.293276 **: | > MarGo: Missing required environment variables: GOPATH | > See the Quirks section of USAGE.md for info

MacOS

What is wrong?

glennr commented 9 years ago

+1

burdiyan commented 9 years ago

Any news about this issue?

andradei commented 7 years ago

This is almost 3 years old. I'm having the same issue.