Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gem bundle call during packaging #160

Merged
merged 1 commit into from Apr 15, 2024
Merged

Conversation

jpalermo
Copy link
Member

We've seen some failures because it was simply using "bundle install" which does not properly install the gems into BOSH_INSTALL_TARGET.

After upgrading to ruby 3.2 it seems that the gems instead are installed into /usr/local/bundle which does not transfer from the compilation VM into the package so when the CPI is later invoked the gems are missing.

Copied the pattern from the bosh director packaging script

We've seen some failures because it was simply using "bundle install"
which does not properly install the gems into BOSH_INSTALL_TARGET.

After upgrading to ruby 3.2 it seems that the gems instead are installed
into /usr/local/bundle which does not transfer from the compilation VM into
the package so when the CPI is later invoked the gems are missing.
Copy link
Member

@aramprice aramprice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Copy link
Member

@cunnie cunnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't even know there was a bosh_bundle_local

@cunnie cunnie merged commit d3e188a into master Apr 15, 2024
1 check passed
@cunnie cunnie deleted the pr-fix-packaging-bundle branch April 15, 2024 23:40
@klakin-pivotal
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants