Closed mikeumus closed 8 years ago
I'm having the same issue
having same issue with abot's setup and glock too
+1
I solved it. Make sure in your PATH environment variable, you have the path to your go/bin directory. This is where abot and glock are installed. In my case, it's:
export PATH=$PATH:/home/ubuntu/go/bin
I can confirm @scdickson's solution is working. Thanks
Good one @scdickson. In Cloud9 IDE the path is /home/ubuntu/workspace/bin/
for default C9 workspaces but Cloud9 falls over again in abot's psql commands in the cmd/setup.sh
script from it's nested postgres nature. I've posted the issue on the C9 Community forum but for the purposes of this error, @scdickson's got it solved. Thanks to you :bow:.
it works now
i am having same issue, can anyone help, i m trying to install on Ubuntu 12.04
Thank you root@localhost:~/work/src/github.com/robfig/glock# cd $GOPATH/src/github.com/its abot/abot root@localhost:~/work/src/github.com/itsabot/abot# cmd/setup.sh
[starting] ***
[ok] checking for go binary [ok] checking GOPATH [ok] installing dependency manager [err] syncing dependencies
[cmd] glock sync 'github.com/itsabot/abot'
bash: glock: command not found root@localhost:~/work/src/github.com/itsabot/abot# export GOPATH=$PATH:/usr/loca l/go/bin root@localhost:~/work/src/github.com/itsabot/abot# cmd/setup.sh
[starting] ***
[ok] checking for go binary [ok] checking GOPATH [ok] installing dependency manager [err] syncing dependencies
[cmd] glock sync 'github.com/itsabot/abot'
bash: glock: command not found root@localhost:~/work/src/github.com/itsabot/abot# cd $GOPATH -bash: cd: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gam es:/usr/local/go/bin:/home/ubuntu/go/bin:/usr/local/go/bin:/usr/local/go/bin:/us r/local/go/bin:/usr/local/go/bin: No such file or directory root@localhost:~/work/src/github.com/itsabot/abot# export GOPATH=/usr/local/go/b in root@localhost:~/work/src/github.com/itsabot/abot# cd $GOPATH root@localhost:/usr/local/go/bin# go get github.com/itsabot/abot
src/github.com/jmoiron/sqlx/bind.go:142: undefined: strings.IndexByte root@localhost:/usr/local/go/bin# cd $GOPATH/src/github.com/itsabot/abot root@localhost:/usr/local/go/bin/src/github.com/itsabot/abot# cmd/setup.sh
[starting] ***
[ok] checking for go binary [ok] checking GOPATH [ok] installing dependency manager [err] syncing dependencies
[cmd] glock sync 'github.com/itsabot/abot'
bash: glock: command not found root@localhost:/usr/local/go/bin/src/github.com/itsabot/abot# abot server No command 'abot' found, did you mean: Command 'rbot' from package 'rbot' (universe) abot: command not found root@localhost:/usr/local/go/bin/src/github.com/itsabot/abot#
I'm trying to get itsabot/abot setup but I am getting
glock: command not found
on step 3 of abot's setup:When I run
cmd/setup.sh
I get this:This is likely some env var for go or glock that's off. I did run
go get glock
to no avail:I'm attempting to get this setup in Cloud 9 IDE and the workspace is here:
Please feel free to provide me your Cloud9 username and I'll grant you access to the workspace. Thank you for any feedback or ideas.