Comments (8)
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
from glock.
I'm having the same issue
from glock.
having same issue with abot's setup and glock too
from glock.
+1
from glock.
I can confirm @scdickson's solution is working. Thanks
from glock.
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 🙇.
from glock.
it works now
from glock.
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/work/src/github.com/itsabot/abot# cmd/setup.sh
abot/abot
root@localhost:
-
[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/work/src/github.com/itsabot/abot# cmd/setup.sh
l/go/bin
root@localhost:
-
[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/work/src/github.com/itsabot/abot# export GOPATH=/usr/local/go/b
-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:
in
root@localhost:~/work/src/github.com/itsabot/abot# cd $GOPATH
root@localhost:/usr/local/go/bin# go get github.com/itsabot/abot
github.com/jmoiron/sqlx
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#
from glock.
Related Issues (20)
- Speed up glock sync HOT 1
- Aliasing imports. HOT 4
- Support dependencies that aren't working directories (or clones) HOT 2
- Cosmetic inquiry: GLOCKFILE naming HOT 3
- support for single repository layouts HOT 3
- Outdated reference to godep -save=false in README.md / Overview HOT 1
- Add post-rewrite hook HOT 3
- "glock save" extremely slow on vanity import paths HOT 2
- Support for Mercurial, Bazaar, Subversion is incomplete and undocumented HOT 1
- sync occasionally fails with a "cannot find package" error HOT 6
- Consider adding GO15VENDOREXPERIMENT support HOT 11
- `glock save` gets confused by build tags HOT 1
- `glock sync` from inside git-hook can fail due to git env vars HOT 3
- Unable to install glock HOT 12
- Dependency Issue With googlemaps.github.io/maps
- Doesn't work offline
- Please add a LICENSE file HOT 1
- `glock save` broken by #33
- Glock sync fails when checking out refs that only exist on certain tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glock.