wonderphil Please ensure your project's Gemfile includes the pg gem like so:
gem "pg"
Then SSH into your Rails application's shell user account and run the following commands to install the PostgreSQL dependencies for Ruby (substituting your_project with your Rails project name):
cd ~/apps/staging-api/
source setenv
export PATH=/usr/pgsql-14/bin/:$PATH
cd your_project
bundle install
You must also configure your project environment's database.yml section as follows:
production:
<<: *default
adapter: postgresql
database: your_database_name
username: your_database_user_name
password: your_database_user_password
If the problem persists, please open a support ticket, and we'll be happy to look further into it.