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-data-permissions.sh source? #53

Closed
wwahammy opened this issue Oct 3, 2024 · 2 comments
Closed

bundler-data-permissions.sh source? #53

wwahammy opened this issue Oct 3, 2024 · 2 comments

Comments

@wwahammy
Copy link

wwahammy commented Oct 3, 2024

Hey all, I'm trying to understand how the dev container features work and I saw the reference to bundler-data-permissions.sh in the bundler-cache feature:

"postCreateCommand": "/usr/local/share/bundler-data-permissions.sh"

Is that supposed to be included in this repo? If not, where exactly does that come from? I'm trying to find it all over the place and I don't see it.

@JeremiahChurch
Copy link

The file is built by the install.sh file that is packaged with the feature - all it does is make sure the user has permission on the bundle folder since it's a mounted external volume

https://github.com/rails/devcontainer/blob/main/features/bundler-cache/install.sh#L9

@andrewn617
Copy link
Collaborator

Yes @JeremiahChurch is correct. But I think we can simplify this since I agree it is a bit confusing. See #56

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

No branches or pull requests

3 participants