dark-panda / ffi-geos

ffi-geos is an implementation of the GEOS Ruby bindings in Ruby via FFI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heroku Geos not Found

dorthwein opened this issue · comments

So we have RGeo working without the gem using a build back however if we include this gem, it seems Geos can't be found. We've tried setting the environment variables manually etc... but still no luck ;(

Any guidance would be hugely appreciated!

commented
commented

Any luck here? Does setting GEOS_LIBRARY_PATH help?

The path of the build and its dependencies aren't known ahead of time.
Here's a stack trace that demonstrates the underlying issue:

 !     Caused by:
 !     NoMethodError: undefined method `GEOSversion' for Geos::FFIGeos:Module
 !     /tmp/build_ca1671791f67cfad78e1e1b8ba20fc0f/vendor/bundle/ruby/2.6.0/gems/ffi-geos-2.0.0/lib/ffi-geos.rb:1084:in `<module:FFIGeos>'
 !     /tmp/build_ca1671791f67cfad78e1e1b8ba20fc0f/vendor/bundle/ruby/2.6.0/gems/ffi-geos-2.0.0/lib/ffi-geos.rb:51:in `<module:Geos>'
 !     /tmp/build_ca1671791f67cfad78e1e1b8ba20fc0f/vendor/bundle/ruby/2.6.0/gems/ffi-geos-2.0.0/lib/ffi-geos.rb:7:in `<main>'

Some GEOSversion version method is expected but not defined.
Also note the randomized build path.

commented

Closing due to inactivity.