You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Just installed Buffalo with go get -u github.com/gobuffalo/buffalo/buffalo result I can find Buffalo from my go/bin dir(binary) and from my go/src/github.com dir (source), but go command line tool does not work from command line even after restarting the terminal(iTerm with zsh).
If I cd to go/bin dir I can successfully run ./buffalo to open the command line tools. Am I expected to add it as an alias to my .zshrc profile of did the installation fail somehow?
@apaganobeleno you are correct. I am working with a new Mac and I was tricked by the announcement that Go path is now set by default. Change below fixed my issues(not caused by Buffalo). I close the issue.
PATH configuration created when running brew install go export PATH=$PATH:/usr/local/opt/go/libexec/bin
Here what I changed my PATH to get everything working
I had a similar issue on macOS Sierra 10.12.6. The buffalo command wasn't making into my $GOPATH/bin directory. Tried using Go 1.9.1 and 1.9.3 (both installed via Brew). Resolved it by upgrading to the very latest version of Xcode and then re-installing.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Just installed Buffalo with
go get -u github.com/gobuffalo/buffalo/buffalo
result I can find Buffalo from my go/bin dir(binary) and from my go/src/github.com dir (source), but go command line tool does not work from command line even after restarting the terminal(iTerm with zsh).If I cd to go/bin dir I can successfully run
./buffalo
to open the command line tools. Am I expected to add it as an alias to my.zshrc
profile of did the installation fail somehow?Below my Go info
~/go/bin » go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/kimmo/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.8.3/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.8.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/qp/dbgjrlns73x5p2w0lkhwclmr0000gn/T/go-build036828905=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
The text was updated successfully, but these errors were encountered: