rubenv / sql-migrate

SQL schema migration tool for Go.
MIT License
3.19k stars 273 forks source link

undefined: os.Executable #83

Closed stevepm closed 6 years ago

stevepm commented 7 years ago

Hi, I'm installing sql-migrate via go get and am running into an error:

❯ go version
go version go1.7.6 linux/amd64
❯ go get github.com/rubenv/sql-migrate/...
# github.com/posener/complete/cmd/install
go/src/github.com/posener/complete/cmd/install/install.go:75: undefined: os.Executable
❯ echo $?
2

This just started happening recently (past day or two).

Made a related issue here: https://github.com/posener/complete/issues/43 (feel free to close this one if you want)

huynguyenh commented 6 years ago

correct me if i'm wrong and it might not relevent but i remember os.Executable is a 1.8 or newer version function, maybe you can try to update your go to 1.8 and test again

rubenv commented 6 years ago

Yup, time to upgrade!