Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Error installing bundler || bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225. #19

Open
a1exus opened this issue Oct 28, 2024 · 2 comments

Comments

@a1exus
Copy link

a1exus commented Oct 28, 2024

hello,

i'm trying to follow the quick start and while at make step, I'm getting a following error:

$ uname -a
Linux gamma 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux
$ cat /etc/debian_version 
12.7
$ docker --version
Docker version 27.3.1, build ce12230
$ docker compose version
Docker Compose version v2.29.7
$ make
...
3.241 + cd /lobsters
3.242 + su lobsters -c 'gem install bundler --user-install'
61.41 ERROR:  Error installing bundler:
61.41   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`
61.41   bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225.
------
Dockerfile:31
--------------------
  30 |     ARG DEVELOPER_BUILD=false
  31 | >>> RUN set -xe; \
  32 | >>>     apk add --no-cache --virtual .build-deps \
  33 | >>>         build-base \
  34 | >>>         curl \
  35 | >>>         gcc \
  36 | >>>         git \
  37 | >>>         gnupg \
  38 | >>>         linux-headers \
  39 | >>>         mariadb-connector-c-dev \
  40 | >>>         mariadb-dev \
  41 | >>>         sqlite-dev; \
  42 | >>>     export PATH=/lobsters/.gem/ruby/2.7.0/bin:$PATH; \
  43 | >>>     export SUPATH=$PATH; \
  44 | >>>     export GEM_HOME="/lobsters/.gem"; \
  45 | >>>     export GEM_PATH="/lobsters/.gem"; \
  46 | >>>     export BUNDLE_PATH="/lobsters/.bundle"; \
  47 | >>>     cd /lobsters; \
  48 | >>>     su lobsters -c "gem install bundler --user-install"; \
  49 | >>>     su lobsters -c "gem update"; \
  50 | >>>     su lobsters -c "gem install rake -v 13.0.1"; \
  51 | >>>     su lobsters -c "bundle config set no-cach 'true'"; \
  52 | >>>     su lobsters -c "bundle install"; \
  53 | >>>     if [ "${DEVELOPER_BUILD,,}" != "true" ]; \
  54 | >>>     then \
  55 | >>>         apk del .build-deps; \
  56 | >>>     fi; \
  57 | >>>     mv /lobsters/Gemfile /lobsters/Gemfile.bak; \
  58 | >>>     mv /lobsters/Gemfile.lock /lobsters/Gemfile.lock.bak;
  59 |     
--------------------
ERROR: failed to solve: process "/bin/bash -c set -xe;     apk add --no-cache --virtual .build-deps         build-base         curl         gcc         git         gnupg         linux-headers         mariadb-connector-c-dev         mariadb-dev         sqlite-dev;     export PATH=/lobsters/.gem/ruby/2.7.0/bin:$PATH;     export SUPATH=$PATH;     export GEM_HOME=\"/lobsters/.gem\";     export GEM_PATH=\"/lobsters/.gem\";     export BUNDLE_PATH=\"/lobsters/.bundle\";     cd /lobsters;     su lobsters -c \"gem install bundler --user-install\";     su lobsters -c \"gem update\";     su lobsters -c \"gem install rake -v 13.0.1\";     su lobsters -c \"bundle config set no-cach 'true'\";     su lobsters -c \"bundle install\";     if [ \"${DEVELOPER_BUILD,,}\" != \"true\" ];     then         apk del .build-deps;     fi;     mv /lobsters/Gemfile /lobsters/Gemfile.bak;     mv /lobsters/Gemfile.lock /lobsters/Gemfile.lock.bak;" did not complete successfully: exit code: 1
make: *** [Makefile:21: build] Error 1
$ 

please advise)
thank you in advance!

@a1exus a1exus changed the title ERROR: Error installing bundler ERROR: Error installing bundler || bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225. Oct 28, 2024
@a1exus
Copy link
Author

a1exus commented Oct 28, 2024

alexus@gamma:~/docker-lobsters$ git diff Dockerfile
diff --git a/Dockerfile b/Dockerfile
index b025315..dea2480 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -45,7 +45,7 @@ RUN set -xe; \
     export GEM_PATH="/lobsters/.gem"; \
     export BUNDLE_PATH="/lobsters/.bundle"; \
     cd /lobsters; \
-    su lobsters -c "gem install bundler --user-install"; \
+    su lobsters -c "gem install bundler -v 2.4.22 --user-install"; \
     su lobsters -c "gem update"; \
     su lobsters -c "gem install rake -v 13.0.1"; \
     su lobsters -c "bundle config set no-cach 'true'"; \
alexus@gamma:~/docker-lobsters$ 

@a1exus
Copy link
Author

a1exus commented Oct 28, 2024

this took significantly more time, but the build still failed:

$ make
docker build \
        --build-arg BASE_IMAGE=ruby:2.7-alpine \
        --build-arg BUILD_DATE=2024-10-28T16:51:10Z \
        --build-arg DEVELOPER_BUILD=false \
        --build-arg VCS_REF=d83e925 \
        --build-arg VERSION=main \
        --tag utensils/lobsters:latest \
        --tag utensils/lobsters:d83e925 \
        --tag utensils/lobsters:main \
        --file Dockerfile .
[+] Building 1337.8s (8/12)                                                                                                                                                                         docker:default
[+] Building 2335.0s (8/12)                                                                                                                                                                         docker:default
[+] Building 2720.9s (9/12)                                                                                                                                                                         docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                          0.0s
 => => transferring dockerfile: 3.63kB                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/ruby:2.7-alpine                                                                                                                                            0.1s
 => [internal] load .dockerignore                                                                                                                                                                             0.0s
 => => transferring context: 777B                                                                                                                                                                             0.0s
 => [1/8] FROM docker.io/library/ruby:2.7-alpine@sha256:371668748735a808d1fd1c506878e09f40cb542ffc758cfa7eb124f90827e8d9                                                                                      0.0s
 => [internal] load build context                                                                                                                                                                             0.0s
 => => transferring context: 31.20kB                                                                                                                                                                          0.0s
 => CACHED [2/8] RUN set -xe;     addgroup -S lobsters;     adduser -S -h /lobsters -s /bin/sh -G lobsters lobsters;                                                                                          0.0s
 => CACHED [3/8] RUN set -xe;     chown -R lobsters:lobsters /lobsters;     apk add --no-cache --update --virtual .runtime-deps         mariadb-connector-c         bash         nodejs         npm           0.0s
 => CACHED [4/8] COPY --chown=lobsters:lobsters ./lobsters/Gemfile ./lobsters/Gemfile.lock /lobsters/                                                                                                         0.0s
 => ERROR [5/8] RUN set -xe;     apk add --no-cache --virtual .build-deps         build-base         curl         gcc         git         gnupg         linux-headers         mariadb-connector-c-dev      2720.7s
------                                                                                                                                                                                                             
 > [5/8] RUN set -xe;     apk add --no-cache --virtual .build-deps         build-base         curl         gcc         git         gnupg         linux-headers         mariadb-connector-c-dev         mariadb-dev         sqlite-dev;     export PATH=/lobsters/.gem/ruby/2.7.0/bin:$PATH;     export SUPATH=$PATH;     export GEM_HOME="/lobsters/.gem";     export GEM_PATH="/lobsters/.gem";     export BUNDLE_PATH="/lobsters/.bundle";     cd /lobsters;     su lobsters -c "gem install bundler -v 2.4.22 --user-install";     su lobsters -c "gem update";     su lobsters -c "gem install rake -v 13.0.1";     su lobsters -c "bundle config set no-cach 'true'";     su lobsters -c "bundle install";     if [ "${DEVELOPER_BUILD,,}" != "true" ];     then         apk del .build-deps;     fi;     mv /lobsters/Gemfile /lobsters/Gemfile.bak;     mv /lobsters/Gemfile.lock /lobsters/Gemfile.lock.bak;:                                                                                                                                                                          
0.243 + apk add --no-cache --virtual .build-deps build-base curl gcc git gnupg linux-headers mariadb-connector-c-dev mariadb-dev sqlite-dev
0.258 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
0.410 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
0.677 (1/58) Upgrading musl (1.2.3-r2 -> 1.2.3-r3)
0.690 (2/58) Installing binutils (2.38-r3)
0.758 (3/58) Installing libmagic (5.41-r0)
0.784 (4/58) Installing file (5.41-r0)
0.787 (5/58) Installing libgomp (11.2.1_git20220219-r2)
0.793 (6/58) Installing libatomic (11.2.1_git20220219-r2)
0.796 (7/58) Installing isl22 (0.22-r0)
0.819 (8/58) Installing mpfr4 (4.1.0-r0)
0.846 (9/58) Installing mpc1 (1.2.1-r0)
0.851 (10/58) Installing gcc (11.2.1_git20220219-r2)
1.490 (11/58) Installing musl-dev (1.2.3-r3)
1.557 (12/58) Installing libc-dev (0.7.2-r3)
1.559 (13/58) Installing g++ (11.2.1_git20220219-r2)
2.094 (14/58) Installing make (4.3-r0)
2.101 (15/58) Installing fortify-headers (1.1-r1)
2.104 (16/58) Installing patch (2.7.6-r7)
2.110 (17/58) Installing build-base (0.5-r3)
2.112 (18/58) Upgrading libcrypto1.1 (1.1.1t-r2 -> 1.1.1w-r1)
2.153 (19/58) Upgrading libssl1.1 (1.1.1t-r2 -> 1.1.1w-r1)
2.172 (20/58) Installing libcurl (8.5.0-r0)
2.184 (21/58) Installing curl (8.5.0-r0)
2.191 (22/58) Installing expat (2.6.2-r0)
2.197 (23/58) Installing pcre2 (10.42-r0)
2.207 (24/58) Installing git (2.36.6-r0)
2.344 (25/58) Installing libgpg-error (1.45-r0)
2.349 (26/58) Installing libassuan (2.5.6-r0)
2.354 (27/58) Installing libcap (2.64-r1)
2.359 (28/58) Installing pinentry (1.2.0-r0)
2.362 Executing pinentry-1.2.0-r0.post-install
2.367 (29/58) Installing libgcrypt (1.10.1-r0)
2.380 (30/58) Installing gnupg-gpgconf (2.2.35-r4)
2.387 (31/58) Installing libbz2 (1.0.8-r1)
2.392 (32/58) Installing gpg (2.2.35-r4)
2.407 (33/58) Installing npth (1.6-r1)
2.410 (34/58) Installing gpg-agent (2.2.35-r4)
2.419 (35/58) Installing gpg-wks-server (2.2.35-r4)
2.425 (36/58) Installing libksba (1.6.4-r0)
2.433 (37/58) Installing gpgsm (2.2.35-r4)
2.443 (38/58) Installing gpgv (2.2.35-r4)
2.451 (39/58) Installing nettle (3.7.3-r0)
2.467 (40/58) Installing p11-kit (0.24.1-r0)
2.481 (41/58) Installing libtasn1 (4.18.0-r1)
2.485 (42/58) Installing libunistring (1.0-r0)
2.504 (43/58) Installing gnutls (3.7.7-r1)
2.527 (44/58) Installing libsasl (2.1.28-r1)
2.532 (45/58) Installing libldap (2.6.3-r3)
2.539 (46/58) Installing gnupg-dirmngr (2.2.35-r4)
2.551 (47/58) Installing gnupg-utils (2.2.35-r4)
2.558 (48/58) Installing gnupg-wks-client (2.2.35-r4)
2.563 (49/58) Installing gnupg (2.2.35-r4)
2.566 (50/58) Installing openssl-dev (1.1.1w-r1)
2.584 (51/58) Installing mariadb-connector-c-dev (3.1.13-r4)
2.590 (52/58) Installing mariadb-common (10.6.16-r0)
2.609 (53/58) Installing libaio (0.3.112-r2)
2.612 (54/58) Installing xz-libs (5.2.5-r1)
2.617 (55/58) Installing mariadb-embedded (10.6.16-r0)
2.735 (56/58) Installing mariadb-dev (10.6.16-r0)
2.798 (57/58) Installing sqlite-dev (3.40.1-r1)
2.808 (58/58) Installing .build-deps (20241028.165112)
2.808 Executing busybox-1.35.0-r17.trigger
2.818 Executing ca-certificates-20220614-r0.trigger
2.875 OK: 312 MiB in 103 packages
2.924 + export PATH=/lobsters/.gem/ruby/2.7.0/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2.924 + PATH=/lobsters/.gem/ruby/2.7.0/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2.924 + export SUPATH=/lobsters/.gem/ruby/2.7.0/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2.924 + SUPATH=/lobsters/.gem/ruby/2.7.0/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2.924 + export GEM_HOME=/lobsters/.gem
2.924 + GEM_HOME=/lobsters/.gem
2.924 + export GEM_PATH=/lobsters/.gem
2.924 + GEM_PATH=/lobsters/.gem
2.924 + export BUNDLE_PATH=/lobsters/.bundle
2.924 + BUNDLE_PATH=/lobsters/.bundle
2.924 + cd /lobsters
2.924 + su lobsters -c 'gem install bundler -v 2.4.22 --user-install'
59.58 Successfully installed bundler-2.4.22
59.58 1 gem installed
59.65 + su lobsters -c 'gem update'
176.7 Updating installed gems
176.7 Updating benchmark
176.7 Successfully installed benchmark-0.3.0
176.7 Updating bigdecimal
176.7 Building native extensions. This could take a while...
243.7 ERROR:  Error installing bundler:
243.7   There are no versions of bundler (= 2.5.22) compatible with your Ruby & RubyGems
243.7   bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225.
299.5 Successfully installed bigdecimal-3.1.8
299.5 Updating bundler
299.5 Updating cgi
299.5 Building native extensions. This could take a while...
410.9 Successfully installed cgi-0.4.1
410.9 Updating csv
410.9 Successfully installed csv-3.3.0
410.9 Updating date
410.9 Building native extensions. This could take a while...
588.1 Successfully installed date-3.3.4
588.1 Updating delegate
588.1 Successfully installed delegate-0.3.1
588.1 Updating did_you_mean
588.1 Successfully installed did_you_mean-1.6.3
588.1 Updating etc
588.1 Building native extensions. This could take a while...
647.1 Successfully installed etc-1.4.3
647.1 Updating fcntl
647.1 Building native extensions. This could take a while...
703.0 Successfully installed fcntl-1.1.0
703.0 Updating fiddle
703.0 Building native extensions. This could take a while...
930.9 Successfully installed fiddle-1.1.4
930.9 Updating fileutils
930.9 Successfully installed fileutils-1.7.2
930.9 Updating forwardable
930.9 Successfully installed forwardable-1.3.3
930.9 Updating getoptlong
930.9 Successfully installed getoptlong-0.2.1
930.9 Updating io-console
930.9 Building native extensions. This could take a while...
1102.1 Successfully installed io-console-0.7.2
1102.1 Updating ipaddr
1102.1 Successfully installed ipaddr-1.2.7
1102.1 Updating irb
1102.1 Successfully installed reline-0.5.10
1102.1 Successfully installed irb-1.14.1
1102.1 Updating json
1102.1 Building native extensions. This could take a while...
1551.3 Successfully installed json-2.7.4
1551.3 Updating logger
1551.3 Successfully installed logger-1.6.1
1551.3 Updating matrix
1551.3 Successfully installed matrix-0.4.2
1551.3 Updating mutex_m
1551.3 Successfully installed mutex_m-0.2.0
1551.3 Updating net-pop
1551.3 Successfully installed net-protocol-0.2.2
1551.3 Successfully installed net-pop-0.1.2
1551.3 Updating net-smtp
1551.3 Successfully installed net-smtp-0.5.0
1551.3 Updating observer
1551.3 Successfully installed observer-0.1.2
1551.3 Updating open3
1551.3 Successfully installed open3-0.2.1
1551.3 Updating openssl
1551.3 Building native extensions. This could take a while...
1807.9 Successfully installed openssl-3.2.0
1807.9 Updating ostruct
1807.9 Successfully installed ostruct-0.6.0
1807.9 Updating prime
1807.9 Successfully installed prime-0.1.2
1807.9 Updating pstore
1807.9 Successfully installed pstore-0.1.3
1807.9 Updating psych
1807.9 Building native extensions. This could take a while...
1865.0 Successfully installed psych-5.1.2
1865.0 Updating racc
1865.0 Building native extensions. This could take a while...
2037.2 Successfully installed racc-1.8.1
2037.2 Updating rdoc
2037.2 Successfully installed rdoc-6.7.0
2037.2 Updating readline
2037.2 +---------------------------------------------------------------------------+
2037.2 | This is just a loader for "readline". If Ruby has the "readline-ext" gem  |
2037.2 | that is a native extension, this gem will load it. If Ruby does not have  |
2037.2 | the "readline-ext" gem this gem will load "reline", a library that is     |
2037.2 | compatible with the "readline-ext" gem and implemented in pure Ruby.      |
2037.2 |                                                                           |
2037.2 | If you intend to use GNU Readline by `require 'readline'`, please install |
2037.2 | the "readline-ext" gem.                                                   |
2037.2 +---------------------------------------------------------------------------+
2037.2 Successfully installed readline-0.0.4
2037.2 Updating readline-ext
2037.2 Building native extensions. This could take a while...
2038.3 ERROR:  Error installing readline-ext:
2038.3  ERROR: Failed to build gem native extension.
2038.3 
2038.3     current directory: /lobsters/.gem/gems/readline-ext-0.2.0/ext/readline
2038.3 /usr/local/bin/ruby -I /usr/local/lib/ruby/2.7.0 -r ./siteconf20241028-25-1wh50oj.rb extconf.rb
2038.3 checking for rb_io_descriptor()... no
2038.3 checking for tgetnum() in -lncurses... no
2038.3 checking for tgetnum() in -ltermcap... no
2038.3 checking for tgetnum() in -lcurses... no
2038.3 checking for readline/readline.h... no
2038.3 checking for editline/readline.h... no
2038.3 *** extconf.rb failed ***
2038.3 Could not create Makefile due to some reason, probably lack of necessary
2038.3 libraries and/or headers.  Check the mkmf.log file for more details.  You may
2038.3 need configuration options.
2038.3 
2038.3 Provided configuration options:
2038.3  --with-opt-dir
2038.3  --without-opt-dir
2038.3  --with-opt-include
2038.3  --without-opt-include=${opt-dir}/include
2038.3  --with-opt-lib
2038.3  --without-opt-lib=${opt-dir}/lib
2038.3  --with-make-prog
2038.3  --without-make-prog
2038.3  --srcdir=.
2038.3  --curdir
2038.3  --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
2038.3  --with-curses-dir
2038.3  --without-curses-dir
2038.3  --with-curses-include
2038.3  --without-curses-include=${curses-dir}/include
2038.3  --with-curses-lib
2038.3  --without-curses-lib=${curses-dir}/lib
2038.3  --with-ncurses-dir
2038.3  --without-ncurses-dir
2038.3  --with-ncurses-include
2038.3  --without-ncurses-include=${ncurses-dir}/include
2038.3  --with-ncurses-lib
2038.3  --without-ncurses-lib=${ncurses-dir}/lib
2038.3  --with-termcap-dir
2038.3  --without-termcap-dir
2038.3  --with-termcap-include
2038.3  --without-termcap-include=${termcap-dir}/include
2038.3  --with-termcap-lib
2038.3  --without-termcap-lib=${termcap-dir}/lib
2038.3  --with-readline-dir
2038.3  --without-readline-dir
2038.3  --with-readline-include
2038.3  --without-readline-include=${readline-dir}/include
2038.3  --with-readline-lib
2038.3  --without-readline-lib=${readline-dir}/lib
2038.3  --enable-libedit
2038.3  --disable-libedit
2038.3  --with-ncurseslib
2038.3  --without-ncurseslib
2038.3  --with-termcaplib
2038.3  --without-termcaplib
2038.3  --with-curseslib
2038.3  --without-curseslib
2038.3  --with-editline-dir
2038.3  --without-editline-dir
2038.3  --with-editline-include
2038.3  --without-editline-include=${editline-dir}/include
2038.3  --with-editline-lib
2038.3  --without-editline-lib=${editline-dir}/lib
2038.3 extconf.rb:64:in `<main>': Neither readline nor libedit was found (RuntimeError)
2038.3 
2038.3 To see why this extension failed to compile, please check the mkmf.log which can be found here:
2038.3 
2038.3   /lobsters/.gem/extensions/x86_64-linux-musl/2.7.0/readline-ext-0.2.0/mkmf.log
2038.3 
2038.3 extconf failed, exit code 1
2038.3 
2038.3 Gem files will remain installed in /lobsters/.gem/gems/readline-ext-0.2.0 for inspection.
2038.3 Results logged to /lobsters/.gem/extensions/x86_64-linux-musl/2.7.0/readline-ext-0.2.0/gem_make.out
2261.1 Updating rexml
2261.1 Successfully installed rexml-3.3.9
2261.1 Updating rss
2261.1 Successfully installed rss-0.3.1
2261.1 Updating singleton
2261.1 Successfully installed singleton-0.2.0
2261.1 Updating stringio
2261.1 Building native extensions. This could take a while...
2318.3 Successfully installed stringio-3.1.1
2318.3 Updating strscan
2318.3 Building native extensions. This could take a while...
2652.6 Successfully installed strscan-3.1.0
2652.6 Updating timeout
2652.6 Successfully installed timeout-0.4.1
2652.6 Updating tracer
2652.6 Successfully installed tracer-0.2.3
2652.6 Updating uri
2652.6 Successfully installed uri-0.13.1
2652.6 Updating webrick
2652.6 Successfully installed webrick-1.8.2
2652.6 Updating yaml
2652.6 Successfully installed yaml-0.3.0
2652.6 Updating zlib
2652.6 Building native extensions. This could take a while...
2656.0 Successfully installed zlib-3.1.1
2656.0 Gems updated: benchmark bigdecimal bundler cgi csv date delegate did_you_mean etc fcntl fiddle fileutils forwardable getoptlong io-console ipaddr irb reline json logger matrix mutex_m net-pop net-protocol net-smtp observer open3 openssl ostruct prime pstore psych racc rdoc readline readline-ext rexml rss singleton stringio strscan timeout tracer uri webrick yaml zlib
2656.1 + su lobsters -c 'gem install rake -v 13.0.1'
2714.5 Successfully installed rake-13.0.1
2714.5 1 gem installed
2714.6 + su lobsters -c 'bundle config set no-cach '\''true'\'''
2714.7 Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
2714.8 + su lobsters -c 'bundle install'
2714.9 Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
2715.9 Fetching gem metadata from https://rubygems.org/.........
2720.5 Your bundle is locked to mimemagic (0.3.5), but that version could not be found
2720.5 in any of the sources listed in your Gemfile. If you haven't changed sources,
2720.5 that means the author of mimemagic (0.3.5) has removed it. You'll need to update
2720.5 your bundle to a version other than mimemagic (0.3.5) that hasn't been removed
2720.5 in order to install.
------
Dockerfile:31
--------------------
  30 |     ARG DEVELOPER_BUILD=false
  31 | >>> RUN set -xe; \
  32 | >>>     apk add --no-cache --virtual .build-deps \
  33 | >>>         build-base \
  34 | >>>         curl \
  35 | >>>         gcc \
  36 | >>>         git \
  37 | >>>         gnupg \
  38 | >>>         linux-headers \
  39 | >>>         mariadb-connector-c-dev \
  40 | >>>         mariadb-dev \
  41 | >>>         sqlite-dev; \
  42 | >>>     export PATH=/lobsters/.gem/ruby/2.7.0/bin:$PATH; \
  43 | >>>     export SUPATH=$PATH; \
  44 | >>>     export GEM_HOME="/lobsters/.gem"; \
  45 | >>>     export GEM_PATH="/lobsters/.gem"; \
  46 | >>>     export BUNDLE_PATH="/lobsters/.bundle"; \
  47 | >>>     cd /lobsters; \
  48 | >>>     su lobsters -c "gem install bundler -v 2.4.22 --user-install"; \
  49 | >>>     su lobsters -c "gem update"; \
  50 | >>>     su lobsters -c "gem install rake -v 13.0.1"; \
  51 | >>>     su lobsters -c "bundle config set no-cach 'true'"; \
  52 | >>>     su lobsters -c "bundle install"; \
  53 | >>>     if [ "${DEVELOPER_BUILD,,}" != "true" ]; \
  54 | >>>     then \
  55 | >>>         apk del .build-deps; \
  56 | >>>     fi; \
  57 | >>>     mv /lobsters/Gemfile /lobsters/Gemfile.bak; \
  58 | >>>     mv /lobsters/Gemfile.lock /lobsters/Gemfile.lock.bak;
  59 |     
--------------------
ERROR: failed to solve: process "/bin/bash -c set -xe;     apk add --no-cache --virtual .build-deps         build-base         curl         gcc         git         gnupg         linux-headers         mariadb-connector-c-dev         mariadb-dev         sqlite-dev;     export PATH=/lobsters/.gem/ruby/2.7.0/bin:$PATH;     export SUPATH=$PATH;     export GEM_HOME=\"/lobsters/.gem\";     export GEM_PATH=\"/lobsters/.gem\";     export BUNDLE_PATH=\"/lobsters/.bundle\";     cd /lobsters;     su lobsters -c \"gem install bundler -v 2.4.22 --user-install\";     su lobsters -c \"gem update\";     su lobsters -c \"gem install rake -v 13.0.1\";     su lobsters -c \"bundle config set no-cach 'true'\";     su lobsters -c \"bundle install\";     if [ \"${DEVELOPER_BUILD,,}\" != \"true\" ];     then         apk del .build-deps;     fi;     mv /lobsters/Gemfile /lobsters/Gemfile.bak;     mv /lobsters/Gemfile.lock /lobsters/Gemfile.lock.bak;" did not complete successfully: exit code: 7
make: *** [Makefile:21: build] Error 1
$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant