Fix RubyGems dependent error
Failed job: https://jihulab.com/gitlab-cn/code-sync/-/jobs/7489129
$ bundle_install_script
Installing gems
03:02
3.2.33
Bundler version 2.2.33
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Fetching https://jihulab.com/gitlab-cn/ruby/gems/gitlab-dangerfiles-jh.git
Fetching https://github.com/TencentCloud/tencentcloud-sdk-ruby.git
Fetching https://github.com/TencentCloud/tencentcloud-sdk-ruby.git
Fetching https://github.com/TencentCloud/tencentcloud-sdk-ruby.git
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Resolving dependencies...
Could not find compatible versions
Because prometheus-client-mmap >= 0.21.0 depends on RubyGems >= 3.3.22
and Gemfile depends on prometheus-client-mmap ~> 0.21,
RubyGems >= 3.3.22 is required.
So, because current RubyGems version is = 3.2.33,
version solving has failed.
Root reason: rubygems-3.2
in
image: registry.gitlab.cn/gitlab-cn/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-103-yarn-1.22-graphicsmagick-1.3.36
How to resolve
Update image version.
由 Baodong 编辑于