Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Upgrade ruby to 3.3.4

Dombi Attila981c3943f75d
diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml
index 86a12a9453a..eab13d3a371 100644
--- a/.github/workflows/danger.yml
+++ b/.github/workflows/danger.yml
@@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
- ruby-version: '3.3.3'
+ ruby-version: '3.3.4'
- uses: MeilCli/danger-action@v6
with:
danger_file: 'Dangerfile'
diff --git a/.ruby-version b/.ruby-version
index 619b5376684..a0891f563f3 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-3.3.3
+3.3.4
diff --git a/Gemfile.lock b/Gemfile.lock
index e105fc0b7bf..07517b78343 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1360,7 +1360,7 @@ DEPENDENCIES
with_advisory_lock (~> 5.1.0)
RUBY VERSION
- ruby 3.3.3p89
+ ruby 3.3.4p94
BUNDLED WITH
2.5.13
diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfile
index bc05096843d..2a2dd43ea65 100644
--- a/docker/dev/backend/Dockerfile
+++ b/docker/dev/backend/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.3.3-bullseye as develop
+FROM ruby:3.3.4-bullseye as develop
MAINTAINER [email protected]
ARG DEV_UID=1000
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile
index 80ce747ebce..17793c67e4b 100644
--- a/docker/prod/Dockerfile
+++ b/docker/prod/Dockerfile
@@ -1,4 +1,4 @@
-ARG RUBY_VERSION="3.3.3"
+ARG RUBY_VERSION="3.3.4"
FROM ruby:${RUBY_VERSION}-bookworm as base
LABEL maintainer="[email protected]"
diff --git a/docs/development/development-environment-osx/README.md b/docs/development/development-environment-osx/README.md
index 0ea85c511bd..3ec389be013 100644
--- a/docs/development/development-environment-osx/README.md
+++ b/docs/development/development-environment-osx/README.md
@@ -27,7 +27,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.3.3"
+the time of writing, this version is "3.3.4"
#### Install rbenv and ruby-build
@@ -45,7 +45,7 @@ $ rbenv init
With both installed, we can now install the actual ruby version. You can check available ruby versions
with `rbenv install --list`.
-At the time of this writing, the latest stable version is `3.3.3`, which we also require.
+At the time of this writing, the latest stable version is `3.3.4`, which we also require.
We suggest you install the version we require in the [Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile).
Search for the `ruby '~> X.Y.Z'` line
@@ -53,14 +53,14 @@ and install that version.
```shell
# Install the required version as read from the Gemfile
-rbenv install 3.3.3
+rbenv install 3.3.4
```
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.3.3
+rbenv global 3.3.4
```
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.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
+ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
$ bundler --version
Bundler version 2.5.13
diff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.md
index bf0117a9355..69a317b2ca1 100644
--- a/docs/development/development-environment-ubuntu/README.md
+++ b/docs/development/development-environment-ubuntu/README.md
@@ -41,7 +41,7 @@ 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. 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.3.3"
+the time of writing, this version is "3.3.4"
#### Install rbenv and ruby-build
@@ -75,7 +75,7 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
#### Installing ruby
With both installed, we can now install ruby. You can check available ruby versions with `rbenv install --list`.
-At the time of this writing, the latest stable version is `3.3.3` which we also require.
+At the time of this writing, the latest stable version is `3.3.4` which we also require.
We suggest you install the version we require in the [Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile).
Search for the `ruby '~> X.Y.Z'` line
@@ -83,14 +83,14 @@ and install that version.
```shell
# Install the required version as read from the Gemfile
-rbenv install 3.3.3
+rbenv install 3.3.4
```
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.3.3
+rbenv global 3.3.4
rbenv rehash
```
@@ -180,7 +180,7 @@ You should now have an active ruby and node installation. Verify that it works w
```shell
ruby --version
-ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
+ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
bundler --version
Bundler version 2.5.13
diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.md
index ec82628f31a..a8a8ad552c0 100644
--- a/docs/installation-and-operations/installation/manual/README.md
+++ b/docs/installation-and-operations/installation/manual/README.md
@@ -108,16 +108,16 @@ time to finish.
[openproject@host] source ~/.profile
[openproject@host] git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
-[openproject@host] rbenv install 3.3.3
+[openproject@host] rbenv install 3.3.4
[openproject@host] rbenv rehash
-[openproject@host] rbenv global 3.3.3
+[openproject@host] rbenv global 3.3.4
```
To check our Ruby installation we run `ruby --version`. It should output
something very similar to:
```text
-ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
+ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
```
## Installation of Node