Skip to content

Conversation

@ramereth
Copy link
Contributor

@ramereth ramereth commented Aug 7, 2025

The upstream pg ruby gem has started including pre-complied pg gems which do not
work on EL8 due to the fact they were compiled on an Ubuntu platform that has a
newer glibc.

By using --platform ruby [1], this will force the installation using the
source which is what this cookbook expects.

In addition, make sure we test on EL8.

[1] https://github.com/ged/ruby-pg?tab=readme-ov-file#source-gem

Signed-off-by: Lance Albertson [email protected]

Description

Describe what this change achieves

Issues Resolved

List any existing issues this PR resolves

Check List

  • A summary of changes made is included in the CHANGELOG under ## Unreleased
  • New functionality includes testing.
  • New functionality has been documented in the README if applicable.

The upstream pg ruby gem has started including pre-complied pg gems which do not
work on EL8 due to the fact they were compiled on an Ubuntu platform that has a
newer glibc.

By using `--platform ruby` [1], this will force the installation using the
source which is what this cookbook expects.

In addition, make sure we test on EL8.

[1] https://github.com/ged/ruby-pg?tab=readme-ov-file#source-gem

Signed-off-by: Lance Albertson <[email protected]>
@ramereth ramereth added the Release: Patch Release to Chef Supermarket as a version patch when merged label Aug 7, 2025
@ramereth ramereth requested a review from a team as a code owner August 7, 2025 23:05
@ramereth ramereth added the Release: Patch Release to Chef Supermarket as a version patch when merged label Aug 7, 2025
@ramereth ramereth merged commit 26fe6a1 into main Aug 7, 2025
120 of 198 checks passed
@ramereth ramereth deleted the pg-gem-source branch August 7, 2025 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release: Patch Release to Chef Supermarket as a version patch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants