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

.bundle subdir? #157

Open
jrochkind opened this issue Aug 21, 2019 · 1 comment
Open

.bundle subdir? #157

jrochkind opened this issue Aug 21, 2019 · 1 comment

Comments

@jrochkind
Copy link

Using bundler 1.17.3 and Rails 6 (not sure which if either are relevant), after running bundle exec appraisal install, I have a directory at ./gemfiles/.bundle.

It has one file in it, config, containing only BUNDLE_RETRY: "1".

I guess current bundler somehow puts this there to store config... just for those gemfiles? Or something?

Do you think this should be checked into source control, or .gitignored? I'm not really sure. I'm not sure why I don't end up with a .bundle dir at the root of my project, when using bundler ordinarily, or why it shows up here.

Can the README offer advice?

@nickcharlton
Copy link
Member

Taking a look upstream to bundler itself, it seems like this is a network retry note to bundler itself:

retry (BUNDLE_RETRY): The number of times to retry failed network requests. Defaults to 3.

See here, hidden away in the config docs.

If you were to delete the .bundle directory for each, do you see this behaviour again? It sounds like what I'd expect to happen with Appraisal and so a good outcome here might be to document the potential presence of ./gemfiles/.bundle as a possible directory.

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

2 participants