Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Geos is not supported/available #23

Open
benjamin-hull opened this issue Jan 7, 2015 · 7 comments
Open

Geos is not supported/available #23

benjamin-hull opened this issue Jan 7, 2015 · 7 comments

Comments

@benjamin-hull
Copy link

This may be related to other recent issues that have come up. My Rails app on Heroku recently started erroring when any geometry based operation was attempted.

I've updated heroku-geo-buildpack, checked references, switched stack to cedar-14. The deployment and build process seems to work fine, but RGeo::Geos.supported? always returns false.

This is under Ruby 2.1.5. My .buildpacks file looks like:

https://github.com/cyberdelia/heroku-geo-buildpack.git#1.3
https://github.com/heroku/heroku-buildpack-ruby.git#v129

Here's the start of my deploy log (looks fine to me)

-----> 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.4.2
       Using gdal version: 1.11.1
       Using proj version: 4.8.0_1
-----> Vendoring geo libraries done
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git
=====> Detected Framework: Ruby
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.5

I have tried purging the repo cache, rebuilding, and many different forks of this buildpack that try to fix this issue, but it hasn't made any difference.

Are you able to suggest anything else to workaround or diagnose the issue?

Thank you!

@waissbluth
Copy link

Same here, but ruby 2.2.0 and cedar.

@smcoll
Copy link

smcoll commented Mar 3, 2015

Have you tried reversing the order of the buildpacks listed in .buildpacks? i had a similar issue, with a Python stack. It seems that the multi-buildpack uses the release configuration from the buildpack listed last.

@carlosfunk
Copy link

Reversing the buildpacks worked for me

@allthesignals
Copy link

Reversing the buildpacks didn't seem to work for me. RGeo::Geos.supported? still returns false.

@jkogara
Copy link

jkogara commented Jan 3, 2016

@allthesignals Did you get this to work? I've tried reversing buildpacks and purging the repo but to no avail.

@allthesignals
Copy link

@jkogara No luck. I had to create a custom Dockerfile to get it to work.

@mgiraldo
Copy link

any luck for someone else without Dockerfiles?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants