ontrack icon indicating copy to clipboard operation
ontrack copied to clipboard

Docker setup fails due to RubyGems bug

Open dominikheinz opened this issue 1 year ago • 0 comments

System specifications:

OS: Ubuntu 22.04 Architecture: x64 ontrack Version: Latest commit on master, currently f7b11a3

Summary:

Simply running docker-compose up in the cloned repository directory fails with the following exception:

...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 39.19s.
Successfully installed bundler-2.4.9
1 gem installed
Your RubyGems version (3.0.3) has a bug that prevents `required_ruby_version` from working for Bundler. Any scripts that use `gem install bundler` will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running `gem update --system 3.2.3`
Your Ruby version is 2.6.6, but your Gemfile specified 3.1.2
The command '/bin/sh -c apk add --no-cache build-base postgresql-dev yarn &&     yarn install --non-interactive --check-files &&     gem install bundler &&     bundle update' returned a non-zero code: 18
ERROR: Service 'app' failed to build : Build failed

dominikheinz avatar Mar 25 '23 01:03 dominikheinz