Skip to content

Commit

Permalink
Upgrade Ruby version
Browse files Browse the repository at this point in the history
Upgrades `.ruby-version` file which is used in Github CI and local
development.

Specify floating patch Ruby version (3.2.x). This has the benefit of
allowing patch versions of Ruby to be deployed by updating the Ruby
Docker image tag and rebuilding the app.

Trello:
https://trello.com/c/nKilDK4W/2198-dart-sass-upgrade-ruby-to-314-across-govuk-publishing-components-and-other-ux-apps
  • Loading branch information
1pretz1 committed Sep 29, 2023
1 parent 910a716 commit 301cad9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
3.2.2
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG ruby_version=3.1.2
ARG ruby_version=3.2
ARG base_image=ghcr.io/alphagov/govuk-ruby-base:$ruby_version
ARG builder_image=ghcr.io/alphagov/govuk-ruby-builder:$ruby_version

Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
source "https://rubygems.org"

ruby "~> 3.2.0"

gem "rails", "7.0.7.2"

gem "bootsnap", require: false
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -655,5 +655,8 @@ DEPENDENCIES
uglifier
webmock

RUBY VERSION
ruby 3.2.2p53

BUNDLED WITH
2.3.22

0 comments on commit 301cad9

Please sign in to comment.