Skip to content

Commit f679695

Browse files
committed
Upgrade to latest 3.x Ruby
Also upgrade to newer bundler so ruby version can be specified in ruby file. I'm doing this primarilly because I can't run Rubocop locally due to older version of ruby being built on older versions of OpenSSL which don't accept the certificates for our remote rubocop config.
1 parent 6c6f9e9 commit f679695

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
jobs:
22
rubocop:
33
docker:
4-
- image: "cimg/ruby:3.2"
4+
- image: "cimg/ruby:3.4"
55
steps:
66
- checkout
77
- ruby/install-deps
@@ -11,7 +11,7 @@ jobs:
1111

1212
test:
1313
docker:
14-
- image: "cimg/ruby:3.2-browsers"
14+
- image: "cimg/ruby:3.4-browsers"
1515
- image: "circleci/postgres:12.0-alpine-ram"
1616
environment:
1717
POSTGRES_DB: choco_cake_test

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-3.2.3
1+
ruby-3.4.8

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby 3.2.3
1+
ruby 3.4.8

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.2-slim-bullseye AS base
1+
FROM ruby:3.4-slim-bullseye AS base
22
RUN gem install bundler \
33
&& apt-get update \
44
&& apt-get upgrade --yes \

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
source 'https://rubygems.org'
44
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55

6-
ruby '~> 3.2.0'
6+
ruby file: '.ruby-version'
77

88
gem 'administrate', '~> 0.20.1'
99
gem 'administrate-field-active_storage'

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ DEPENDENCIES
642642
webmock
643643

644644
RUBY VERSION
645-
ruby 3.2.3p157
645+
ruby 3.4.8
646646

647647
BUNDLED WITH
648-
2.4.19
648+
4.0.5

0 commit comments

Comments
 (0)