ontrack icon indicating copy to clipboard operation
ontrack copied to clipboard

Ruby & RubyGems version upgrade

Open andreu4448 opened this issue 4 months ago • 0 comments

Hi all,

I was having a look at the project as it looks quite interesting. Congratulations on your initiative and thanks for making it accessible to others!

When trying to set it up using docker compose I am getting this error. I've done my best (which is not much) to try finding out where the versions are declared to see if I was able to fix it but I didn't manage so any help will be very welcome!

[+] Building 126.7s (8/8) FINISHED                                                                                                                                                             docker:default  => [app internal] load build definition from Dockerfile                                                                                                                                                 0.0s
 => => transferring dockerfile: 306B                                                                                                                                                                     0.0s  => [app internal] load metadata for docker.io/library/ruby:2.6.6-alpine                                                                                                                                 0.6s
 => [app internal] load .dockerignore                                                                                                                                                                    0.0sr => => transferring context: 94B                                                                                                                                                                         0.0s
 => [app 1/4] FROM docker.io/library/ruby:2.6.6-alpine@sha256:e38f5d580c93a9007c81136733c279890f94a62bc95935e828138a893a5804c5                                                                           0.0s  => [app internal] load build context                                                                                                                                                                    0.0s
 => => transferring context: 13.09kB                                                                                                                                                                     0.0sE => CACHED [app 2/4] WORKDIR /ontrack                                                                                                                                                                    0.0s
 => CACHED [app 3/4] COPY . .                                                                                                                                                                            0.0s  => ERROR [app 4/4] RUN apk add --no-cache build-base postgresql-dev yarn &&     yarn install --non-interactive --check-files &&     gem install bundler &&     bundle update                          126.1s
------                                                                                                                                                                                                         > [app 4/4] RUN apk add --no-cache build-base postgresql-dev yarn &&     yarn install --non-interactive --check-files &&     gem install bundler &&     bundle update:                                       
0.182 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz                                                                                                                           0.733 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz                                                                                                                      
1.082 (1/40) Upgrading musl (1.2.2-r0 -> 1.2.2-r2)                                                                                                                                                            1.222 (2/40) Upgrading libcrypto1.1 (1.1.1k-r0 -> 1.1.1s-r0)                                                                                                                                                  
1.460 (3/40) Upgrading libssl1.1 (1.1.1k-r0 -> 1.1.1s-r0)
1.573 (4/40) Installing binutils (2.35.2-r1)
1.971 (5/40) Installing libmagic (5.39-r0)
2.100 (6/40) Installing file (5.39-r0)
2.171 (7/40) Installing libgomp (10.2.1_pre1-r3)
2.252 (8/40) Installing libatomic (10.2.1_pre1-r3)
2.304 (9/40) Installing libgphobos (10.2.1_pre1-r3)
2.681 (10/40) Installing isl22 (0.22-r0)
2.954 (11/40) Installing mpfr4 (4.1.0-r0)
3.367 (12/40) Installing mpc1 (1.2.0-r0)
3.448 (13/40) Installing gcc (10.2.1_pre1-r3)
8.979 (14/40) Installing musl-dev (1.2.2-r2)
9.498 (15/40) Installing libc-dev (0.7.2-r3)
9.592 (16/40) Installing g++ (10.2.1_pre1-r3)
12.52 (17/40) Installing make (4.3-r0)
12.63 (18/40) Installing fortify-headers (1.1-r0)
12.70 (19/40) Installing patch (2.7.6-r7)
12.77 (20/40) Installing build-base (0.5-r3)
12.83 (21/40) Installing xz-libs (5.2.5-r1)
12.89 (22/40) Installing libxml2 (2.9.14-r2)
13.03 (23/40) Installing llvm10-libs (10.0.1-r1)
16.47 (24/40) Installing clang-libs (10.0.1-r0)
19.35 (25/40) Installing clang (10.0.1-r0)
20.47 (26/40) Installing llvm10 (10.0.1-r1)
21.07 (27/40) Installing openssl-dev (1.1.1s-r0)
21.19 (28/40) Installing icu-libs (67.1-r2)
23.47 (29/40) Installing icu (67.1-r2)
23.54 (30/40) Installing icu-dev (67.1-r2)
23.76 (31/40) Installing libsasl (2.1.28-r0)
23.83 (32/40) Installing libldap (2.4.57-r1)
23.93 (33/40) Installing libpq (13.12-r0)
24.02 (34/40) Installing postgresql-libs (13.12-r0)
24.11 (35/40) Installing postgresql-dev (13.12-r0)
24.63 (36/40) Installing nghttp2-libs (1.42.0-r1)
24.69 (37/40) Installing brotli-libs (1.0.9-r3)
24.81 (38/40) Installing c-ares (1.17.2-r0)
24.87 (39/40) Installing nodejs (14.20.1-r0)
27.17 (40/40) Installing yarn (1.22.10-r0)
27.50 Executing busybox-1.32.1-r5.trigger
27.50 Executing ca-certificates-20191127-r5.trigger
27.55 OK: 454 MiB in 73 packages
27.95 yarn install v1.22.10
28.00 info No lockfile found.
28.01 [1/4] Resolving packages...
39.92 warning @rails/webpacker > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
49.59 warning react-datepicker > react-popper > [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
57.10 [2/4] Fetching packages...
71.72 [3/4] Linking dependencies...
76.65 [4/4] Building fresh packages...
77.77 success Saved lockfile.
77.77 Done in 49.83s.
125.9 ERROR:  Error installing bundler:
125.9   The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
125.9   bundler requires Ruby version >= 3.0.0. The current ruby version is 2.6.6.146.
------
failed to solve: process "/bin/sh -c apk add --no-cache build-base postgresql-dev yarn &&     yarn install --non-interactive --check-files &&     gem install bundler &&     bundle update" did not complete successfully: exit code: 1

andreu4448 avatar Mar 10 '24 15:03 andreu4448