Open modosc opened 3 years ago
Are you running the same bundler version as the one which is specified in the .lock
file? I've seen that be a problem in the past. On CI I've had to specify it in the past when the container version and what we're using elsewhere differ.
no, that's the issue i'm trying to sort out. if i support rails 5 i'm forced to use bundler (~> 1.17.3)
everywhere. i'm looking for a way to pass in the version number to appraisal
so it uses it (eg, _2.1.4_
or whatever) in the bundle exec
call it makes. does this make sense?
Ah right, I see. I didn't find it necessary to use bundler ~> 1.17.3, but it did require some work for older Ruby versions.
Does this CircleCI config help at all? https://github.com/thoughtbot/administrate/blob/main/.circleci/config.yml
I ended up using an environment variable to set to bundler 2.1.4, so that we're using the same one for every Ruby version.
Hoping there will eventually be a way to have different bundler versions via Appraisal!
I was able to get it working!!
Working example of Appraisal & Combustion with a massive test matrix on Github Actions in my sanitize_email gem here: https://github.com/pboling/sanitize_email/commit/a9c1d9a11732b57e1b898e74516bbff36724ff97
i've got this Appraisals:
i tried to update it recently and discovered that there's a clash with
bundler
versions:is there a way to specify which
bundler
version is used for eachappraise
block? i added the version i needed but when thebundle install
was called it still failed: