From c5716008b928868d1c3b5efe93ce63b369458044 Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Fri, 12 Dec 2025 13:14:59 +0100 Subject: [PATCH 1/4] Update Bundler to v4 --- Gemfile.lock | 4 ++-- docs/development/development-environment/linux/README.md | 2 +- docs/development/development-environment/macos/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 54235568b40..78af4d8cb53 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2296,7 +2296,7 @@ CHECKSUMS zeitwerk (2.7.4) sha256=2bef90f356bdafe9a6c2bd32bcd804f83a4f9b8bc27f3600fff051eb3edcec8b RUBY VERSION - ruby 3.4.7p58 + ruby 3.4.7p58 BUNDLED WITH - 2.7.2 + 4.0.1 diff --git a/docs/development/development-environment/linux/README.md b/docs/development/development-environment/linux/README.md index 6c222b0c829..35a950c3803 100644 --- a/docs/development/development-environment/linux/README.md +++ b/docs/development/development-environment/linux/README.md @@ -184,7 +184,7 @@ ruby --version ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [arm64-darwin25] bundler --version -Bundler version 2.7.2 +Bundler version 4.0.1 node --version v22.21.0 diff --git a/docs/development/development-environment/macos/README.md b/docs/development/development-environment/macos/README.md index e1f2e45519c..80718b23c41 100644 --- a/docs/development/development-environment/macos/README.md +++ b/docs/development/development-environment/macos/README.md @@ -137,7 +137,7 @@ $ ruby --version ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [arm64-darwin25]4] $ bundler --version -Bundler version 2.7.2 +Bundler version 4.0.1 node --version v22.21.0 From 4e9698f5cd3addf0df783ebaa7d98af679daad2f Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Tue, 6 Jan 2026 10:09:59 +0100 Subject: [PATCH 2/4] Update Ruby to 4.0.0 --- .ruby-version | 2 +- Gemfile.lock | 4 ++-- docker/dev/backend/Dockerfile | 2 +- docker/prod/Dockerfile | 2 +- .../development-environment/linux/README.md | 12 ++++++------ .../development-environment/macos/README.md | 10 +++++----- .../installation/manual/README.md | 8 ++++---- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.ruby-version b/.ruby-version index 2aa51319921..fcdb2e109f6 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.4.7 +4.0.0 diff --git a/Gemfile.lock b/Gemfile.lock index 78af4d8cb53..d86a77603d3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2296,7 +2296,7 @@ CHECKSUMS zeitwerk (2.7.4) sha256=2bef90f356bdafe9a6c2bd32bcd804f83a4f9b8bc27f3600fff051eb3edcec8b RUBY VERSION - ruby 3.4.7p58 + ruby 4.0.0 BUNDLED WITH - 4.0.1 + 4.0.3 diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfile index bc86675ea45..b1339adbbd3 100644 --- a/docker/dev/backend/Dockerfile +++ b/docker/dev/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.4.7-trixie AS develop +FROM ruby:4.0.0-trixie AS develop LABEL org.opencontainers.image.authors="operations@openproject.com" ARG DEV_UID=1000 diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index 34b7bf2f2d8..ca950d1b63a 100755 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -1,4 +1,4 @@ -ARG RUBY_VERSION="3.4.7" +ARG RUBY_VERSION="4.0.0" ARG DEBIAN_BASE="trixie" # Add SBOM scan context for intermediate steps ARG BUILDKIT_SBOM_SCAN_CONTEXT=true diff --git a/docs/development/development-environment/linux/README.md b/docs/development/development-environment/linux/README.md index 35a950c3803..e3e042326ba 100644 --- a/docs/development/development-environment/linux/README.md +++ b/docs/development/development-environment/linux/README.md @@ -40,10 +40,10 @@ sudo apt-get install git curl build-essential zlib1g-dev libyaml-dev libssl-dev Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to install Ruby. You can check available ruby versions with `rbenv install --list`. -At the time of this writing, the latest stable version is `3.4.7`, which we also require. +At the time of this writing, the latest stable version is `4.0.0`, which we also require. We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version). -Read the first line e.g. `3.4.7` and install that version. +Read the first line e.g. `4.0.0` and install that version. #### Install rbenv and ruby-build @@ -80,18 +80,18 @@ With both installed, we can now install ruby. You can check available ruby versions with `rbenv install --list`. We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version). -Read the first line e.g. `3.4.7` and install that version. +Read the first line e.g. `4.0.0` and install that version. ```shell # Install the required version as read from the .ruby-version file -rbenv install 3.4.7 +rbenv install 4.0.0 ``` This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv to globally activate this version ```shell -rbenv global 3.4.7 +rbenv global 4.0.0 rbenv rehash ``` @@ -181,7 +181,7 @@ You should now have an active ruby and node installation. Verify that it works w ```shell ruby --version -ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [arm64-darwin25] +ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [arm64-darwin25] bundler --version Bundler version 4.0.1 diff --git a/docs/development/development-environment/macos/README.md b/docs/development/development-environment/macos/README.md index 80718b23c41..5c80e57bb31 100644 --- a/docs/development/development-environment/macos/README.md +++ b/docs/development/development-environment/macos/README.md @@ -28,7 +28,7 @@ their homepage. Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to install Ruby. We always require the latest ruby versions, and you can check which version is required by [checking the Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile#L31) for the `ruby "~> X.Y"` statement. At -the time of writing, this version is "3.4.7" +the time of writing, this version is "4.0.0" #### Install rbenv and ruby-build @@ -48,18 +48,18 @@ With both installed, we can now install the actual ruby version. You can check available ruby versions with `rbenv install --list`. We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version). -Read the first line e.g. `3.4.7` and install that version. +Read the first line e.g. `4.0.0` and install that version. ```shell # Install the required version as read from the .ruby-version file -rbenv install 3.4.7 +rbenv install 4.0.0 ``` This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv to globally activate this version ```shell -rbenv global 3.4.7 +rbenv global 4.0.0 ``` You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler. @@ -134,7 +134,7 @@ You should now have an active ruby and node installation. Verify that it works w ```shell $ ruby --version -ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [arm64-darwin25]4] +ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [arm64-darwin25] $ bundler --version Bundler version 4.0.1 diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.md index 0e16df33786..7379d621a69 100644 --- a/docs/installation-and-operations/installation/manual/README.md +++ b/docs/installation-and-operations/installation/manual/README.md @@ -106,19 +106,19 @@ Please be aware that the actual installation of a specific Ruby version takes so ``` We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version). -Read the first line e.g. `3.4.7` and install that version. +Read the first line e.g. `4.0.0` and install that version. ```shell -[openproject@host] rbenv install 3.4.7 +[openproject@host] rbenv install 4.0.0 [openproject@host] rbenv rehash -[openproject@host] rbenv global 3.4.7 +[openproject@host] rbenv global 4.0.0 ``` To check our Ruby installation we run `ruby --version`. It should output something very similar to: ```text -ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [arm64-darwin25] +ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [arm64-darwin25] ``` ## Installation of Node From 1f98f39e228f6dbd3db22f5941ae2a2397c2ef88 Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Wed, 14 Jan 2026 16:29:02 +0100 Subject: [PATCH 3/4] Update Ruby to 4.0.1 --- .ruby-version | 2 +- Gemfile.lock | 2 +- docker/dev/backend/Dockerfile | 2 +- docker/prod/Dockerfile | 2 +- .../development-environment/linux/README.md | 14 +++++++------- .../development-environment/macos/README.md | 12 ++++++------ .../installation/manual/README.md | 8 ++++---- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.ruby-version b/.ruby-version index fcdb2e109f6..1454f6ed4b7 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -4.0.0 +4.0.1 diff --git a/Gemfile.lock b/Gemfile.lock index d86a77603d3..cc98d92832b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2296,7 +2296,7 @@ CHECKSUMS zeitwerk (2.7.4) sha256=2bef90f356bdafe9a6c2bd32bcd804f83a4f9b8bc27f3600fff051eb3edcec8b RUBY VERSION - ruby 4.0.0 + ruby 4.0.1 BUNDLED WITH 4.0.3 diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfile index b1339adbbd3..e2a04a60889 100644 --- a/docker/dev/backend/Dockerfile +++ b/docker/dev/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:4.0.0-trixie AS develop +FROM ruby:4.0.1-trixie AS develop LABEL org.opencontainers.image.authors="operations@openproject.com" ARG DEV_UID=1000 diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index ca950d1b63a..ef28a83f002 100755 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -1,4 +1,4 @@ -ARG RUBY_VERSION="4.0.0" +ARG RUBY_VERSION="4.0.1" ARG DEBIAN_BASE="trixie" # Add SBOM scan context for intermediate steps ARG BUILDKIT_SBOM_SCAN_CONTEXT=true diff --git a/docs/development/development-environment/linux/README.md b/docs/development/development-environment/linux/README.md index e3e042326ba..223026715eb 100644 --- a/docs/development/development-environment/linux/README.md +++ b/docs/development/development-environment/linux/README.md @@ -40,10 +40,10 @@ sudo apt-get install git curl build-essential zlib1g-dev libyaml-dev libssl-dev Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to install Ruby. You can check available ruby versions with `rbenv install --list`. -At the time of this writing, the latest stable version is `4.0.0`, which we also require. +At the time of this writing, the latest stable version is `4.0.1`, which we also require. We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version). -Read the first line e.g. `4.0.0` and install that version. +Read the first line e.g. `4.0.1` and install that version. #### Install rbenv and ruby-build @@ -80,18 +80,18 @@ With both installed, we can now install ruby. You can check available ruby versions with `rbenv install --list`. We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version). -Read the first line e.g. `4.0.0` and install that version. +Read the first line e.g. `4.0.1` and install that version. ```shell # Install the required version as read from the .ruby-version file -rbenv install 4.0.0 +rbenv install 4.0.1 ``` This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv to globally activate this version ```shell -rbenv global 4.0.0 +rbenv global 4.0.1 rbenv rehash ``` @@ -181,10 +181,10 @@ You should now have an active ruby and node installation. Verify that it works w ```shell ruby --version -ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [arm64-darwin25] +ruby 4.0.1 (2026-01-13 revision e04267a14b) +PRISM [arm64-darwin25] bundler --version -Bundler version 4.0.1 +4.0.3 node --version v22.21.0 diff --git a/docs/development/development-environment/macos/README.md b/docs/development/development-environment/macos/README.md index 5c80e57bb31..ba6694a3e7e 100644 --- a/docs/development/development-environment/macos/README.md +++ b/docs/development/development-environment/macos/README.md @@ -28,7 +28,7 @@ their homepage. Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to install Ruby. We always require the latest ruby versions, and you can check which version is required by [checking the Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile#L31) for the `ruby "~> X.Y"` statement. At -the time of writing, this version is "4.0.0" +the time of writing, this version is "4.0.1" #### Install rbenv and ruby-build @@ -48,18 +48,18 @@ With both installed, we can now install the actual ruby version. You can check available ruby versions with `rbenv install --list`. We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version). -Read the first line e.g. `4.0.0` and install that version. +Read the first line e.g. `4.0.1` and install that version. ```shell # Install the required version as read from the .ruby-version file -rbenv install 4.0.0 +rbenv install 4.0.1 ``` This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv to globally activate this version ```shell -rbenv global 4.0.0 +rbenv global 4.0.1 ``` You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler. @@ -134,10 +134,10 @@ You should now have an active ruby and node installation. Verify that it works w ```shell $ ruby --version -ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [arm64-darwin25] +ruby 4.0.1 (2026-01-13 revision e04267a14b) +PRISM [arm64-darwin25] $ bundler --version -Bundler version 4.0.1 +4.0.3 node --version v22.21.0 diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.md index 7379d621a69..2092086ffbf 100644 --- a/docs/installation-and-operations/installation/manual/README.md +++ b/docs/installation-and-operations/installation/manual/README.md @@ -106,19 +106,19 @@ Please be aware that the actual installation of a specific Ruby version takes so ``` We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version). -Read the first line e.g. `4.0.0` and install that version. +Read the first line e.g. `4.0.1` and install that version. ```shell -[openproject@host] rbenv install 4.0.0 +[openproject@host] rbenv install 4.0.1 [openproject@host] rbenv rehash -[openproject@host] rbenv global 4.0.0 +[openproject@host] rbenv global 4.0.1 ``` To check our Ruby installation we run `ruby --version`. It should output something very similar to: ```text -ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [arm64-darwin25] +ruby 4.0.1 (2026-01-13 revision e04267a14b) +PRISM [arm64-darwin25] ``` ## Installation of Node From c5a6b1b578e67312226ce7200649d64db141f1be Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Mon, 16 Feb 2026 16:43:01 +0100 Subject: [PATCH 4/4] Update bundler --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index cc98d92832b..d7e6a8a64a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2299,4 +2299,4 @@ RUBY VERSION ruby 4.0.1 BUNDLED WITH - 4.0.3 + 4.0.6