-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Getting /bin/jb: not found
when I try running make vendor
#36
Comments
Ah, I think I was a bit confused... If I run However, the
|
Weird because in the makefile, it's like:
It should install in your GOPATH if it's already defined otherwise it would install into current dir (pwd). |
Yes, it must be an absolute path. I just tested without the GOPATH variable and it really fails. I will change the Makefile to warn the user to have the GOPATH set. Did it work this way? |
That's weird, My workaround worked fine, and right now I don't have time to dig in any deeper (already burned about 4 more hours on this task than I planned; this repo has saved me a lot of time ;). Feel free to close this issue, and hopefully if someone else who fights with GOPATH and env vars like I do so often has the same problem, Google will lead them here :) |
Nice! Glad it helped. I'll take a look into this to avoid further problems like this :) |
Fixed by a6a1133. Can you check? |
@carlosedp Testing now. |
It looks like that worked! I dropped all my workarounds and it's picking up the GOPATH correctly. One weird thing is all the manifests are there, but completely empty after I |
The fix worked for the GOPATH, but I did find another issue and I'll open up a separate issue for it (it's unrelated). |
When I try running
make vendor
after customizing myvars.jsonnet
file, I keep getting:It seems like the path
/bin/jb
is hardcoded, but when it installsjsonnet-bundler
it is running with my local GOPATH, which is~/go
, sojb
is installed in~/go/bin/jb
and not in the global/bin
dir.Can the makefile be updated to work with just calling
jb
instead? I have added the go bin path to my user's$PATH
as well, but since the/bin/jb
location is hardcoded, I have to manually add a symlink or install as root, which is a little strange.The text was updated successfully, but these errors were encountered: