cyberdelia / heroku-geo-buildpack

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

GEOS not supported #39

Open kunalbhatt opened 8 years ago

kunalbhatt commented 8 years ago

Followed the instructions but still can't get Geos to be supported on heroku. Running Ruby 2.2.4 with Rails 4.2.5.1.

Everything seems to build fine as well.

irb(main):001:0> require 'rgeo'
=> true
irb(main):002:0> RGeo::Geos.supported?
=> false
irb(main):003:0>  RGeo::CoordSys::Proj4.supported?
=> true
ykessler commented 7 years ago

Having the same issue (ruby 2.3.0, rails 4.2.6).

Add buildpacks as instructed:

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

Build process looks good:

remote: Building source:
remote: 
remote: -----> geos/gdal/proj app detected
remote:        Using geos version: 3.4.2
remote:        Using gdal version: 1.11.1
remote:        Using proj version: 4.8.0_1
remote: -----> Vendoring geo libraries done
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.3.0

GEOS dependency not available:

>>> require 'rgeo'
=> false
>>> RGeo::CoordSys::Proj4.supported?
=> true
>>> RGeo::Geos.supported?
=> false
MrCoffey commented 6 years ago

Same here :C