I’m upgrading a project from Circle 1.0 and ran into an issue related to the library RGeo whenever I use test that call “shape.contains?”
RGeo::Error::UnsupportedOperation: Method Geometry#contains? not defined.
This error is usually because the geos library is not installed on the host machine. However, I’ve already added the required libs to the config (they install successfully when CI is running):
sudo apt-get install postgis sudo apt-get install libgeos-dev sudo apt-get install libgeos++-dev sudo apt-get install libproj-dev
I’m using the following three images:
docker: - image: circleci/ruby:2.4.1-node environment: PGHOST: 127.0.0.1 PGUSER: root - image: circleci/postgres:10.4-alpine-postgis environment: POSTGRES_USER: root POSTGRES_DB: spin-web_test - image: redis:4.0.9