From a3dec89eb79fcbff4cc349869ede616dc2efd908 Mon Sep 17 00:00:00 2001 From: Colby Swandale <996377+colby-swandale@users.noreply.github.com> Date: Thu, 17 Oct 2024 15:14:28 +1100 Subject: [PATCH] Update Ruby to 3.3.5 Also declare the Ruby version inside the Gemfile --- .github/workflows/test.yml | 2 +- .ruby-version | 2 +- Dockerfile | 2 +- Gemfile | 2 ++ Gemfile.lock | 5 ++++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da2994f..d2524b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.0.3" + ruby-version: .ruby-version bundler-cache: true - name: Wait for MySQL to boot diff --git a/.ruby-version b/.ruby-version index 15a2799..fa7adc7 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.0 +3.3.5 diff --git a/Dockerfile b/Dockerfile index c2b9dc8..3fbcc56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.3.0-alpine3.18 +FROM ruby:3.3.5-alpine3.18 ARG KRANE_VERSION=3.0.1 ARG KUBECTL_VERSION=1.26.3 diff --git a/Gemfile b/Gemfile index 14dcded..5c72e3e 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,7 @@ source 'https://rubygems.org' +ruby file: ".ruby-version" + gem 'rails', '~> 7.0.8' gem 'mysql2' gem 'puma', '~> 6.4' diff --git a/Gemfile.lock b/Gemfile.lock index b7cdd37..9aa66f9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -363,5 +363,8 @@ DEPENDENCIES sidekiq web-console (>= 3.3.0) +RUBY VERSION + ruby 3.3.5p100 + BUNDLED WITH - 2.5.5 + 2.5.21