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

Builds are broken due to a missing ruby dependency #1468

Closed
adejanovski opened this issue Feb 13, 2024 · 0 comments · Fixed by #1467
Closed

Builds are broken due to a missing ruby dependency #1468

adejanovski opened this issue Feb 13, 2024 · 0 comments · Fixed by #1467
Labels
bug done Issues in the state 'done'

Comments

@adejanovski
Copy link
Contributor

adejanovski commented Feb 13, 2024

Project board link

Builds started failing yesterday when installing fpm in the docker-build image:

150.8 ERROR:  Error installing fpm:
150.8 	The last version of dotenv (>= 0) to support your Ruby & RubyGems was 2.8.1. Try installing it with `gem install dotenv -v 2.8.1` and then running the current command again
150.8 	dotenv requires Ruby version >= 3.0. The current ruby version is 2.7.0.0.
150.8 Successfully installed stud-0.0.23
------
Dockerfile:24
--------------------
  23 |     # install dependencies
  24 | >>> RUN apt-get update \
  25 | >>>     && apt-get install -y \
  26 | >>>         curl \
  27 | >>>     && curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh \
  28 | >>>     && bash nodesource_setup.sh \
  29 | >>>     && DEBIAN_FRONTEND="noninteractive" apt-get install -y \
  30 | >>>         build-essential \
  31 | >>>         git \
  32 | >>>         openjdk-8-jdk \
  33 | >>>         openjdk-11-jdk \
  34 | >>>         maven \
  35 | >>>         nodejs \
  36 | >>>         python2 \
  37 | >>>         rpm \
  38 | >>>         ruby-dev \
  39 | >>>     && mvn --version \
  40 | >>>     && gem install fpm \
  41 | >>>     && npm install -g bower
  42 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update     && apt-get install -y         curl     && curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh     && bash nodesource_setup.sh     && DEBIAN_FRONTEND=\"noninteractive\" apt-get install -y         build-essential         git         openjdk-8-jdk         openjdk-11-jdk         maven         nodejs         python2         rpm         ruby-dev     && mvn --version     && gem install fpm     && npm install -g bower" did not complete successfully: exit code: 1
Service 'build' failed to build : Build failed

Recommended fix above is to install dotenv explicitly using gem install dotenv -v 2.8.1

@adejanovski adejanovski added bug ready-for-review Issues in the state 'PVTI_lADOBFnRAs4AH-xYzgDXgVA' review Issues in the state 'review' and removed ready-for-review Issues in the state 'PVTI_lADOBFnRAs4AH-xYzgDXgVA' labels Feb 13, 2024
@adejanovski adejanovski added done Issues in the state 'done' and removed review Issues in the state 'review' labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug done Issues in the state 'done'
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant