dependabot-script
dependabot-script copied to clipboard
CI report version mismatch between ruby and gemfile
$ bundle install -j $(nproc) --path vendor
Your Ruby version is 2.6.6, but your Gemfile specified 2.6.5
ERROR: Job failed: exit code 1
Same here
Can we just bump the Ruby version in the Gemfile to 2.6.6? Or isn't it that simple?
Same here
It should be solved now; https://github.com/dependabot/dependabot-script/pull/454
@RogierW Does Gemfile.lock
also need to be regenerate?
@jingsam Maybe it does, I'm not sure actually.
After changing Gemfile
file, Gemfile.lock
should also be updated (regenrated). Both changes should be provided in one commit.
Yes, I see it now. I have made a new pull request; https://github.com/dependabot/dependabot-script/pull/455
What if image dependabot/dependabot-core
upgrade ruby to 2.6.7? I guess same issue happens again. I suggest to use versioned container image in .gitlab-ci.yml
Using tagged image in .gitlab-ci.yml
is good idea.
image: dependabot/dependabot-core:0.118.7
I agree, that would be a better solution.
To anyone still experiencing this make sure to check out main
and not master
(speaking from experience)