Revert "Ruby 4.0.9, in the image and the flake"
All checks were successful
Tests / test (push) Successful in 23s
Build and Deploy to Production / test (push) Successful in 22s
Build and Deploy to Production / build (push) Successful in 1m0s
Build and Deploy to Production / deploy (push) Successful in 40s

The deploy (run 458) crash-looped: under Ruby 4 the default bigdecimal
is 4.0.1, and ttfunk 1.8.0 (prawn, invoice PDFs) requires bigdecimal
~> 3.1, so the app fails to load (Gem::ConflictError). The pre-merge
boot test stopped at the database connection, before prawn was
loaded, so it missed this. Production was rolled back by hand to
768b10e1; this puts main back in step.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-13 03:40:58 +04:00
commit c56469f323
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -1,4 +1,4 @@
FROM ruby:4.0.9-slim-bookworm
FROM ruby:3.4.12-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
@ -17,8 +17,7 @@ ENV PATH="${GEM_HOME}/bin:${PATH}"
COPY --chown=asxpio Gemfile Gemfile.lock* ./
ENV BUNDLE_FROZEN=true
ENV BUNDLE_WITHOUT=development:test
RUN bundle install
RUN bundle install --without development:test
COPY --chown=asxpio . .