From 207c3205b0fc09c8ae8716253a4d0af8cacba41c Mon Sep 17 00:00:00 2001 From: Ryan W Date: Sat, 9 Dec 2023 13:10:53 -0800 Subject: [PATCH] update rubygems --- .github/workflows/ruby.yml | 4 ++-- Dockerfile | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 06f8aed0..3ce9da47 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -20,8 +20,8 @@ jobs: uses: ruby/setup-ruby@v1 with: bundler-cache: true - - name: Update Bundler - run: gem update bundler + - name: Update rubygems + run: gem update --system - name: Run linters run: bundle exec rubocop --parallel - name: Ruby security checks diff --git a/Dockerfile b/Dockerfile index 9d8efea2..aca4f7e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,8 @@ RUN --mount=type=cache,target=/var/cache/apt \ libvips \ pkg-config +gem update --system + # Install application gems COPY Gemfile Gemfile.lock ./ RUN bundle install && \