Closed dilumn closed 7 years ago
It sounds like you have a couple of issues. First, if it can't find the grift
command it's because you haven't added $GOPATH/bin
to your $PATH
. Here are some instructions on how to make sure you have your environment setup properly. http://gopherguides.com/before-you-come-to-class
The second issue is you are trying to work outside of your Go workspace. All Go code must live inside $GOPATH/src
. If you look at the second set of error messages I can see that your current directory isn't inside your Go workspace by the fact it doesn't have a src
folder in it.
Thank you for this explanation & I was able to fix my issue. That issue was not something to do with grifter.
Awesome. Glad to hear you got it working.
I tried to integrate
grift
to mybuffalo
project.After installing
grift
bygo get github.com/markbates/grift
Still it's showing me
-bash: grift: command not found
. I have created GOPATH correctly.buffalo
command is working fine.And also if I run
grift
inside mybuffalo
project, it shows me this error.The
GOPATH
I configured is/Users/dilumnavanjana/go
, here it's showing a wrong GOPATH.What is the reason for all these??