I’m using this config no CircleCi 2.
- image: circleci/ruby:2.3.3-node-browsers
environment:
RAILS_ENV: test
PGHOST: 127.0.0.1
PGUSER: app_name
- image: circleci/postgres:10.6-alpine-postgis-ram
environment:
POSTGRES_USER: app_name
POSTGRES_DB: app_name_test
POSTGRES_PASSWORD:
- image: circleci/node:11.4
- image: redis
- image: elasticsearch:6.5.4
But when my test run, with Rspec, i’m having this error when use geographic thing of Postgis:
undefined method 'property' for nil:NilClass
Some one have passed this problem?? I tried everthing of the internet for days. I was using CI 1 that always worked, but now, is required to use CI 2.
Update:
I read somewhere that, need to install geos before bundle gems tha use it. How i apt-get install stuff before this?