ruby-postgres only requires libpq to build and run, depending on the full postgresql package is not necessary.
Thanks for reporting, fixed now.