Skip to content

Commit

Permalink
Add libyaml-dev for psych gem failing to install
Browse files Browse the repository at this point in the history
I don't know what changed recently but this gem no longer installs
without adding a system library for yaml processing.

There haven't been any new releases to prompt this change.
  • Loading branch information
nickjj committed Jan 14, 2025
1 parent 623d5a7 commit 50fe21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
- `URL_HOST` environment variable for setting `default_url_options[:host]`
- `./run bundle [...]` to run any Bundler command
- `./run yarn [...]` to run any Yarn command
- `libyaml-dev` as a system library so the psych gem can be installed

#### Back-end dependencies

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG UID=1000
ARG GID=1000

RUN bash -c "set -o pipefail && apt-get update \
&& apt-get install -y --no-install-recommends build-essential curl git libpq-dev \
&& apt-get install -y --no-install-recommends build-essential curl git libpq-dev libyaml-dev \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key -o /etc/apt/keyrings/nodesource.asc \
&& echo 'deb [signed-by=/etc/apt/keyrings/nodesource.asc] https://deb.nodesource.com/node_22.x nodistro main' | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update && apt-get install -y --no-install-recommends nodejs \
Expand Down

0 comments on commit 50fe21b

Please sign in to comment.