From 75fa206ff790605b5110a959731a2f244f0b825a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 13:06:53 +0000 Subject: [PATCH] Copy .ruby-version before bundle install in Dockerfile The Gemfile reads the .ruby-version file to determine the Ruby version. If this file is not present during `bundle install`, the build fails. This change ensures that .ruby-version is copied along with the Gemfile and Gemfile.lock. Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f837e41d6..e2659f5b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ ENV RAILS_ENV=production \ WORKDIR /app # Install gems -COPY Gemfile Gemfile.lock ./ +COPY Gemfile Gemfile.lock .ruby-version ./ RUN bundle config set --local deployment 'true' && \ bundle config set --local without 'development test' && \ bundle install --jobs 4 --retry 3