Commit 3b08792
committed
Enforce use of Bundler >= 2.4
We make use of `install_if` in our appraisals. However, if you aren't
using Bundler 2.4 then you can't generate any appraisal gemfiles.
This commit enforces the correct version of Bundler by adding a check to
the Gemfile itself. This isn't ideal, but we can't simply add `gem
"bundler", "~> 2.4"` to the Gemfile because of the new-ish logic in
Bundler which [automatically switches to the version of Bundler
specified by the `BUNDLED WITH` section in the lockfile][1].
Unfortunately, we can't commit the lockfiles to the repo, so neither
adding the `gem` line nor updating the `BUNDLED WITH` would work.
[1]: https://bundler.io/blog/2022/01/23/bundler-v2-3.html1 parent 5b6f8e1 commit 3b08792
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
0 commit comments