Skip to content

Commit

Permalink
Force rebuild of pg to fix old pg seg fault
Browse files Browse the repository at this point in the history
  • Loading branch information
albus522 committed Aug 15, 2024
1 parent 507e553 commit 0a7b86e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# frozen_string_literal: true

# Weird cache issue with old pg gem causing seg faults
if ENV.fetch("BUNDLE_GEMFILE", nil).to_s.include?("postgresql") && RUBY_VERSION < "2.4"
`bundle pristine pg`
end

require "simplecov"
require "simplecov-lcov"

Expand Down

0 comments on commit 0a7b86e

Please sign in to comment.