Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Docker setup fails due to RubyGems bug #102

Open
dominikheinz opened this issue Mar 25, 2023 · 0 comments
Open

Docker setup fails due to RubyGems bug #102

dominikheinz opened this issue Mar 25, 2023 · 0 comments

Comments

@dominikheinz
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant