postgis is mandatory
WIP https://gitlab.adullact.net/demarches-simplifiees/vagrant-dev-demarches-simplifiees/-/commits/wip
see:
- https://github.com/demarches-simplifiees/demarches-simplifiees.fr/commit/573954c45f68ccbb117b99ae6190c5fa89751ceb
- https://github.com/demarches-simplifiees/demarches-simplifiees.fr/pull/9275
- since 2023-07-19-01
== Preparing database ==
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedFile: ERROR: could not open extension control file "/usr/share/postgresql/14/extension/postgis.control": No such file or directory
/shared_dev/db/schema.rb:17:in `block in <main>'
/shared_dev/db/schema.rb:13:in `<main>'
<internal:/home/vagrant/rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/home/vagrant/rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
-e:1:in `<main>'
Caused by:
PG::UndefinedFile: ERROR: could not open extension control file "/usr/share/postgresql/14/extension/postgis.control": No such file or directory
/shared_dev/db/schema.rb:17:in `block in <main>'
/shared_dev/db/schema.rb:13:in `<main>'
<internal:/home/vagrant/rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/home/vagrant/rbenv/versions/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
-e:1:in `<main>'
Tasks: TOP => db:schema:load
(See full trace by running task with --trace)
== Command ["bin/rails db:schema:load db:seed"] failed ==