Skip to content

Instantly share code, notes, and snippets.

@smagch
Created May 16, 2014 07:33
Show Gist options
  • Select an option

  • Save smagch/3213d717de6bd84c7901 to your computer and use it in GitHub Desktop.

Select an option

Save smagch/3213d717de6bd84c7901 to your computer and use it in GitHub Desktop.
Heroku Go Error
Initializing repository, done.
Counting objects: 185, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (174/174), done.
Writing objects: 100% (185/185), 31.05 KiB | 0 bytes/s, done.
Total 185 (delta 108), reused 0 (delta 0)
-----> Fetching custom git buildpack... done
-----> Go app detected
-----> Installing go1.2.2... done
-----> Running: godep go install -tags heroku ./...
exhibition.go:9:2: cannot find package "github.com/lib/pq" in any of:
/app/tmp/cache/go1.2.2/go/src/pkg/github.com/lib/pq (from $GOROOT)
/tmp/build_9d30c36d-ea1c-419a-80aa-333b4ccc2ef7/.heroku/g/src/opengallery/Godeps/_workspace/src/github.com/lib/pq (from $GOPATH)
/tmp/build_9d30c36d-ea1c-419a-80aa-333b4ccc2ef7/.heroku/g/src/github.com/lib/pq
exhibition_handler.go:4:2: cannot find package "github.com/smagch/patree" in any of:
/app/tmp/cache/go1.2.2/go/src/pkg/github.com/smagch/patree (from $GOROOT)
/tmp/build_9d30c36d-ea1c-419a-80aa-333b4ccc2ef7/.heroku/g/src/opengallery/Godeps/_workspace/src/github.com/smagch/patree (from $GOPATH)
/tmp/build_9d30c36d-ea1c-419a-80aa-333b4ccc2ef7/.heroku/g/src/github.com/smagch/patree
godep: go exit status 1
! Push rejected, failed to compile Go app
To git@heroku.com:opengallery.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:opengallery.git'
@caike
Copy link
Copy Markdown

caike commented Jul 21, 2014

I'm getting the same error. Have you found a solution yet ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment