heroku-geo-buildpack
heroku-geo-buildpack copied to clipboard
Unable to find geo binaries in Heroku (cedar-14, Ruby 2.2)
All the correct buildpack binaries are built in .heroku/vendor/bin
:
~/.heroku/vendor/bin $ ls -a
...
-rwx------ 1 u59305 59305 39320 Apr 12 15:57 nad2bin
-rwx------ 1 u59305 59305 174634 Apr 12 15:57 nearblack
-rwx------ 1 u59305 59305 397507 Apr 12 15:57 ogr2ogr
-rwx------ 1 u59305 59305 93786 Apr 12 15:57 ogrinfo
-rwx------ 1 u59305 59305 318521 Apr 12 15:57 ogrlineref
-rwx------ 1 u59305 59305 61095 Apr 12 15:57 ogrtindex
-rwx------ 1 u59305 59305 70076 Apr 12 15:57 proj
-rwx------ 1 u59305 59305 33347 Apr 12 15:57 testepsg
However, the RGeo documentation states that:
Note: By default, the gem installation looks for the GEOS library in the following locations: /usr/local, /usr/local/geos, /opt/local, /opt/geos, /opt, /usr, and /Library/Frameworks/GEOS.framework/unix. In other words, MacPorts, Homebrew, the Kyngchaos port, and building from source to /usr/local are supported out of the box.
Alternatively, I need to compile the gems with a flag to the vendored binaries in .heroku
.
I can't find symlinks to these files anywhere in Heroku's /usr/local
What is the correct behavior here? Should I expect the binaries to have symlinks? Should I be configuring my app to build gems with flags pointing to the binaries?
Same problem here. I'll hack something together, but it'd be nice for this to work out of the box.
any news? i am having a similar problem #20
Try #34 and see if that works for you. Give the PR a nudge if so (please).
i ended up doing what was suggested in https://github.com/rgeo/rgeo/issues/125#issuecomment-189192788
but it feels like a hack...
i tried several of the suggestions in #34 but they didnt work for me :\