ManageIQ / manageiq-rpm_build

Code to build RPMs for ManageIQ appliances and container images
Apache License 2.0
10 stars 25 forks source link

Redownload during bundle install to include default gems #468

Closed bdunne closed 5 months ago

bdunne commented 5 months ago

Without --redownload, the system default gems will be used and not included in the gemset RPM. This can cause issues with different ruby RPM patch versions containing different system default gems.

This can lead to errors like: Could not find cgi-0.3.6, time-0.2.2 in locally installed gems

miq-bot commented 5 months ago

Checked commit https://github.com/bdunne/manageiq-rpm_build/commit/6f1d79a22112c808a59eb8fd390a45fe87ad149f with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint 1 file checked, 0 offenses detected Everything looks fine. :star:

bdunne commented 5 months ago

Backported to radjabov in 388741f2f33d2c7bd47c4f8ae753a539d6f758c4

commit 388741f2f33d2c7bd47c4f8ae753a539d6f758c4
Author: Jason Frey <fryguy9@gmail.com>
Date:   Tue Jun 11 11:54:43 2024 -0400

    Merge pull request #468 from bdunne/missing_default_gems

    Redownload during bundle install to include default gems

    (cherry picked from commit 6776779ce8c5389b72555820a25728b877fb1cbb)