cyberdelia / heroku-geo-buildpack

Geo libraries for Heroku
https://github.com/heroku/heroku-geo-buildpack
114 stars 135 forks source link

Push rejected, failed to compile Multipack app #8

Closed sankaet closed 10 years ago

sankaet commented 10 years ago

So I added

$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git

$ cat .buildpacks https://github.com/cyberdelia/heroku-geo-buildpack.git https://github.com/heroku/heroku-buildpack-ruby.git

and then I pushed my .buildpacks to heroku

but I am getting the following error, any suggestions?

Counting objects: 8, done. Delta compression using up to 4 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 543 bytes, done. Total 5 (delta 3), reused 0 (delta 0)

-----> Fetching custom git buildpack... done -----> Multipack app detected =====> Downloading Buildpack: https://github.com/cyberdelia/heroku-geo-buildpack.git =====> Detected Framework: geos/gdal/proj Using geos version: 3.3.8 Using gdal version: 1.10.0 Using proj version: 4.8.0 -----> Fetching and vendoring geos -----> Fetching and vendoring gdal -----> Fetching and vendoring proj -----> Vendoring geo libraries done =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git

! Push rejected, failed to compile Multipack app

To git@heroku.com:obscure-ridge-1498.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git@heroku.com:obscure-ridge-1498.git'

cyberdelia commented 10 years ago

Does it happens every time you try to deploy?

sankaet commented 10 years ago

yes, should I be using https://github.com/heroku/heroku-buildpack-python.git instead? since this is a django app?

cyberdelia commented 10 years ago

@sankaet Yes, that would help a lot, the ruby buildpack is indicated in the README as an example.

sankaet commented 10 years ago

okay, yes just used

https://github.com/cyberdelia/heroku-geo-buildpack.git https://github.com/heroku/heroku-buildpack-python.git

in my buildpacks and it pushed the update just fine. this is all I need to use geoDjango right?

I followed everything heroku had on this link https://devcenter.heroku.com/articles/postgis

cyberdelia commented 10 years ago

Yes.

sankaet commented 10 years ago

Thank you so much @cyberdelia :)