Skip to content

Commit f2a2782

Browse files
committed
Upgrade Ruby to 3.3.4
1 parent c9c3f7c commit f2a2782

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ jobs:
44
build:
55
working_directory: ~/rails_contributors
66
docker:
7-
- image: cimg/ruby:3.2.1-node
7+
- image: cimg/ruby:3.3.4-node
88
environment:
99
BUNDLE_JOBS: 3
1010
BUNDLE_RETRY: 3
1111
BUNDLE_PATH: vendor/bundle
1212
DATABASE_URL: postgres://postgres:postgres@localhost
1313
RAILS_ENV: test
14-
- image: cimg/postgres:12.12
14+
- image: cimg/postgres:14.13
1515
environment:
1616
POSTGRES_DB: rails_contributors_test
1717
POSTGRES_PASSWORD: postgres

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.1, 3.0, 2, 2.7, 2.6, 3-bullseye, 3.1-bullseye, 3.0-bullseye, 2-bullseye, 2.7-bullseye, 2.6-bullseye, 3-buster, 3.1-buster, 3.0-buster, 2-buster, 2.7-buster, 2.6-buster
2-
ARG VARIANT="3.2.1"
2+
ARG VARIANT="3.3.4"
33
FROM ghcr.io/rails/devcontainer/images/ruby:${VARIANT}
44

55
# Default value to allow debug server to serve content over GitHub Codespace's port forwarding service

.devcontainer/docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
# Update 'VARIANT' to pick a version of Ruby: 3, 3.1, 3.0, 2, 2.7, 2.6
1010
# Append -bullseye or -buster to pin to an OS version.
1111
# Use -bullseye variants on local arm64/Apple Silicon.
12-
VARIANT: "3.2.1"
12+
VARIANT: "3.3.4"
1313

1414
volumes:
1515
- ..:/workspaces:cached
@@ -26,7 +26,7 @@ services:
2626
# (Adding the "ports" property to this file will not forward from a Codespace.)
2727

2828
db:
29-
image: postgres:12.13
29+
image: postgres:14.13
3030
restart: unless-stopped
3131
volumes:
3232
- postgres-data:/var/lib/postgresql/data

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.1
1+
3.3.4

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# * .ruby-version (used by CircleCI).
55
# * Install the version by hand in the server (uses RVM).
66
#
7-
FROM ruby:3.2.1-alpine3.16
7+
FROM ruby:3.3.4-alpine3.20
88

99
# LANG as recommended in the Encoding section of https://hub.docker.com/_/ruby/.
1010
ENV LANG C.UTF-8

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ruby '3.2.1'
1+
ruby '3.3.4'
22

33
source 'https://rubygems.org'
44
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ DEPENDENCIES
286286
web-console (>= 3.3.0)
287287

288288
RUBY VERSION
289-
ruby 3.2.1p31
289+
ruby 3.3.4p94
290290

291291
BUNDLED WITH
292-
2.3.17
292+
2.5.17

config/deploy/production.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
set :puma_workers, 1
99
set :puma_phased_restart, true
1010

11-
set :rvm_ruby_version, '3.2.1'
11+
set :rvm_ruby_version, '3.3.4'
1212
set :rvm_custom_path, '/home/rails/.rvm'
1313

1414
namespace :deploy do

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
environment:
1313
DATABASE_URL: postgres://postgres:postgres@db
1414
db:
15-
image: postgres:12.13-alpine
15+
image: postgres:14.13-alpine
1616
environment:
1717
POSTGRES_PASSWORD: postgres
1818
# A subdirectory, as recommended in https://hub.docker.com/_/postgres/.

0 commit comments

Comments
 (0)