I am trying to incorporate PostGIS into my Rails application on Heroku. My Gemfile includes the activerecord-postgis-adapter stone:
gem 'activerecord-postgis-adapter', '3.0.0'
However, after loading my instance, I do not see full support:
$ heroku run irb Running `irb` attached to terminal... up, run.5549 irb(main):001:0> require 'rgeo' => true irb(main):002:0> RGeo::Geos.supported? => false
I added heroku-geo-buildpack as specified in PostGIS , although I am using the new, true multi-buildpack format:
$ heroku buildpacks === staging Buildpack URLs 1. https://github.com/cyberdelia/heroku-geo-buildpack.git#1.3 2. https://github.com/heroku/heroku-buildpack-ruby.git#v140
I am confused since my build process looks right:
-----> Multipack app detected -----> Fetching custom git buildpack... done -----> geos/gdal/proj app detected Using geos version: 3.4.2 Using gdal version: 1.11.1 Using proj version: 4.8.0_1 -----> Vendoring geo libraries done -----> Fetching custom git buildpack... done -----> Ruby app detected -----> Compiling Ruby/Rails ...
What am I missing? I do not have a set of environment variables BUILDPACK_URL , since I am compiling it for the old multi-buildpack approach.
source share