-
-
Notifications
You must be signed in to change notification settings - Fork 345
Add support for gems.rb/gems.locked during bundle install.
#84
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
Conversation
|
For my education, can you mention why you use It's unclear to me if |
|
@colby-swandale sorry to bother you again, but my understanding is |
|
The |
|
I was under the impression we should migrate to |
|
Ugghhhhhh this article has come back to bite me so much and I wish they would unpublish/update It. The |
|
Fair enough - where did the idea originate from and what was the original motivation? |
|
We wanted to pursue the However, the The |
|
Thanks for the clarification!
What is the correct way to compute a lock path from the BUNDLE_GEMFILE environment variable? |
|
I just tried it: |
|
I've reworked the implementation to extract the detection of gem file and lock into a discrete step before kicking off bundle install, and feeding those paths into those functions so they behave consistently. I'll test it out with my own builds. |
|
It looks to be working: https://github.com/socketry/timers/runs/1074367338?check_suite_focus=true Of course, that's assuming the CI tests here also test sufficiently the normal code path with |
|
@eregon can you please review this and/or merge it? |
|
@ioquatix What did you decide for your gems? What bothers me here is that almost no one uses gems.rb and it's not documented. Anyway, the diff is nice, |
|
I didn't answer your questions. I now prefer and use I prefer it for the reasons stated - it's clear it's a "Ruby" source code file (don't need to special case it in code which processes source code/refactoring/etc) and I strongly dislike "Xyzfile" as a convention. |
No description provided.