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

Bundler: Fix permission error when vendoring gems #3280

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

feelepxyz
Copy link
Contributor

This fixes a permissions error when vendoring gems, when GEM_HOME was
unset it defaulted to /var/lib which isn't writeable.

Attempting to fix the discrepancy between ci and updater here:
#3279

This fixes a permissions error when vendoring gems, when `GEM_HOME` was
unset it defaulted to `/var/lib` which isn't writeable.

Attempting to fix the discrepancy between ci and updater here:
#3279
@feelepxyz feelepxyz requested a review from a team as a code owner March 16, 2021 12:38
Copy link
Member

@jurre jurre left a comment

Choose a reason for hiding this comment

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

Could we somehow test for this?

@feelepxyz
Copy link
Contributor Author

Could we somehow test for this?

Yes attempted to do it here #3279 but looks like it's breaking a whole tonne of stuff in the process so keen to get this out to fix the issue in prod and then try and get that PR working.

I can reproduce it in the dev container and the vendor specs also fail in the dev container but pass in the ci container because they run as root.

@feelepxyz
Copy link
Contributor Author

@jurre reproduced the failure here https://github.com/dependabot/dependabot-core/runs/2122196759 🎉

@feelepxyz
Copy link
Contributor Author

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.

2 participants