Skip to content

Commit

Permalink
Merge pull request #2458 from joshcooper/7x_rhel8_arm
Browse files Browse the repository at this point in the history
Pin sqlite3 rubygem to 1.6.9
  • Loading branch information
joshcooper authored Jan 3, 2024
2 parents f8acfa7 + 494f769 commit c5901af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion acceptance/tests/validate_vendored_ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def setup_build_environment(agent)

# The sqlite3 gem >= 1.5.0 bundles libsqlite3, which breaks some tests
# We add `--enable-system-libraries` to use system libsqlite3
gem_install_sqlite3 = "env GEM_HOME=/opt/puppetlabs/puppet/lib/ruby/vendor_gems " + gem_command(agent) + " install sqlite3 -- --enable-system-libraries"
# Pin to 1.6.9 which was the last version to support "native gem support for 2.7"
gem_install_sqlite3 = "env GEM_HOME=/opt/puppetlabs/puppet/lib/ruby/vendor_gems " + gem_command(agent) + " install sqlite3 -v 1.6.9 -- --enable-system-libraries"
install_package_on_agent = package_installer(agent)
on(agent, "#{gem_command(agent)} update --system 3.4.22")

Expand Down

0 comments on commit c5901af

Please sign in to comment.