Closed marcotc closed 1 year ago
still broken with the released Ruby 3.2.0
This seems to be an issue with bundler
version >= 2.4
. Since Ruby 3.2
comes with the default bundler
of 2.4.1
it breaks when running the bundle exec appraisal install
command as the bundle check
command no longer generates a lockfile. I have done some digging, but it's unclear to me why this behavior changed in bundler
and the bundle check
command.
I tested this fix: https://github.com/thoughtbot/appraisal/pull/200 as well as this fix: https://github.com/thoughtbot/appraisal/pull/201 and both seem to work. Seems like it's related to this change: https://github.com/rubygems/rubygems/pull/6025.
@nickcharlton thoughts?
I've merged in #202, could someone try with that and see if it's still an issue?
I've merged in #202, could someone try with that and see if it's still an issue?
@nickcharlton just tested it and it worked for me. Thanks!
@nickcharlton works fine for me. tested with Ruby 2.7, 3.0, 3.1 and 3.2.
Great, thanks for letting me know!
I'm going to close this now but we'll add Ruby 3.2 to CI soon.
Any chance we can get a release that includes this fix soon? It would fix a number of GitHub Actions CI pipelines that are currently broken.
It won't be long — I'd like to resolve #188 first, which I have in progress currently.
In the short-term, you could do something like: https://github.com/thoughtbot/administrate/pull/1932 and pin against main
.
Actual
It's interesting to note that
The Gemfile's dependencies are satisfied
is printed, but not accurate, since the example gemos
is not installed yet.Expected
Running with
docker run --rm -it ruby:3.1.3-slim-bullseye /bin/bash
I get: