Debian / Ubuntu 22 dependencies:
sudo apt update
sudo apt install ruby-dev
sudo gem install bundler
Ruby dependencies:
bundle config set --local path './vendor'
bundle install
NB: you have to be logged in as superuser to see all available settings.
bundle exec ruby ./get_pg_settings.rb \
--path './postgres_settings_v16.gen.json' \
--database-url 'postgres://@/postgres'