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 && \