From 53b255d58e6fa45db7107816e507d9a748f2a4e8 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 20 Jul 2023 15:07:40 +0100 Subject: [PATCH] Update ruby version --- .ruby-version | 2 +- Dockerfile | 4 ++-- Dockerfile_dev | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- docs/setup.md | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.ruby-version b/.ruby-version index ef538c281..0aec50e6e 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.1.2 +3.1.4 diff --git a/Dockerfile b/Dockerfile index 65db290a7..43479ee9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build compilation image -FROM ruby:3.1.2-alpine as builder +FROM ruby:3.1.4-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.2-alpine as production +FROM ruby:3.1.4-alpine as production # The application runs from /app WORKDIR /app diff --git a/Dockerfile_dev b/Dockerfile_dev index 086e874ba..e80f1d816 100644 --- a/Dockerfile_dev +++ b/Dockerfile_dev @@ -1,5 +1,5 @@ # Build compilation image -FROM ruby:3.1.2-alpine +FROM ruby:3.1.4-alpine # The application runs from /app WORKDIR /app diff --git a/Gemfile b/Gemfile index 229ae16e6..dacc8458d 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.2" +ruby "3.1.4" # 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 50fbe0b49..be93cd4b3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -501,7 +501,7 @@ DEPENDENCIES webmock RUBY VERSION - ruby 3.1.2p20 + ruby 3.1.4p223 BUNDLED WITH 2.3.14 diff --git a/docs/setup.md b/docs/setup.md index 047c6b08c..9b5c049c1 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -64,8 +64,8 @@ We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage NodeJS version 4. Install Ruby and Bundler ```bash - rbenv install 3.1.2 - rbenv global 3.1.2 + rbenv install 3.1.4 + rbenv global 3.1.4 source ~/.bashrc gem install bundler ```