I'm trying to enable PostGIS in my Rails app on Heroku. My Gemfile includes the activerecord-postgis-adapter gem:
gem 'activerecord-postgis-adapter', '3.0.0'
However, after booting up my instance, I don't see full support enabled:
$ 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've added the heroku-geo-buildpack,as specified in the PostGIS article, though I'm using the newer, 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'm confused, since my build process looks correct:
-----> 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 don't have a BUILDPACK_URL environmental variable set, as I gather it's for the old multi-buildpack approach.