From 2f653da618bb683b84c17f334c620575a3819d3d Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Wed, 25 May 2022 13:38:29 +0100 Subject: [PATCH] Buildpack supports Ruby 3.1.2 now --- .ruby-version | 2 +- Dockerfile | 4 ++-- Dockerfile_dev | 2 +- Gemfile | 2 +- Gemfile.lock | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.ruby-version b/.ruby-version index 94ff29cc4..ef538c281 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.1.1 +3.1.2 diff --git a/Dockerfile b/Dockerfile index 4f9e69c34..23032740c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build compilation image -FROM ruby:3.1.1-alpine as builder +FROM ruby:3.1.2-alpine as builder # The application runs from /app WORKDIR /app @@ -45,7 +45,7 @@ RUN rm -rf node_modules log tmp && \ find /usr/local/bundle/gems -name "*.html" -delete # Build runtime image -FROM ruby:3.1.1-alpine as production +FROM ruby:3.1.2-alpine as production # The application runs from /app WORKDIR /app diff --git a/Dockerfile_dev b/Dockerfile_dev index 26bfd366f..6b66fb90f 100644 --- a/Dockerfile_dev +++ b/Dockerfile_dev @@ -1,5 +1,5 @@ # Build compilation image -FROM ruby:3.1.1-alpine +FROM ruby:3.1.2-alpine # The application runs from /app WORKDIR /app diff --git a/Gemfile b/Gemfile index 6e48d0262..3d2e6eac6 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby "3.1.1" +ruby "3.1.2" # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main' gem "rails", "~> 7.0.2" diff --git a/Gemfile.lock b/Gemfile.lock index 7f359dbe1..b423ace04 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -476,7 +476,7 @@ DEPENDENCIES webmock RUBY VERSION - ruby 3.1.1p18 + ruby 3.1.2p20 BUNDLED WITH - 2.3.12 + 2.3.14