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

bump ruby to 3.4.1

ulfertsf8bf0bdf1777
diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml
index eab13d3a371..be8948af8a7 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.4'
+ ruby-version: '3.4.1'
- uses: MeilCli/danger-action@v6
with:
danger_file: 'Dangerfile'
diff --git a/.ruby-version b/.ruby-version
index a0891f563f3..47b322c971c 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-3.3.4
+3.4.1
diff --git a/Gemfile.lock b/Gemfile.lock
index 9e7c75cc493..b9ee56b2b07 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1421,7 +1421,7 @@ DEPENDENCIES
with_advisory_lock (~> 5.1.0)
RUBY VERSION
- ruby 3.3.4p94
+ ruby 3.4.1p0
BUNDLED WITH
2.5.13
diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfile
index d1e2b2f9422..679c53c304d 100644
--- a/docker/dev/backend/Dockerfile
+++ b/docker/dev/backend/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.3.4-bullseye AS develop
+FROM ruby:3.4.1-bullseye AS develop
MAINTAINER [email protected]
ARG DEV_UID=1000
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile
index 4bb22a22851..46615f32094 100755
--- a/docker/prod/Dockerfile
+++ b/docker/prod/Dockerfile
@@ -1,4 +1,4 @@
-ARG RUBY_VERSION="3.3.4"
+ARG RUBY_VERSION="3.4.1"
FROM ruby:${RUBY_VERSION}-bookworm AS base
LABEL maintainer="[email protected]"
diff --git a/docs/development/development-environment/linux/README.md b/docs/development/development-environment/linux/README.md
index 94e71970075..85c953037e5 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.3.4`, which we also require.
+At the time of this writing, the latest stable version is `3.4.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. `3.3.4` and install that version.
+Read the first line e.g. `3.4.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. `3.3.4` and install that version.
+Read the first line e.g. `3.4.1` and install that version.
```shell
# Install the required version as read from the .ruby-version file
-rbenv install 3.3.4
+rbenv install 3.4.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 3.3.4
+rbenv global 3.4.1
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.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
+ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [arm64-darwin23]
bundler --version
Bundler version 2.5.13
diff --git a/docs/development/development-environment/macos/README.md b/docs/development/development-environment/macos/README.md
index 279b6b71aa8..c7535b4160d 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.3.4"
+the time of writing, this version is "3.4.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. `3.3.4` and install that version.
+Read the first line e.g. `3.4.1` and install that version.
```shell
# Install the required version as read from the .ruby-version file
-rbenv install 3.3.4
+rbenv install 3.4.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 3.3.4
+rbenv global 3.4.1
```
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.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
+ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [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 ca8887e63df..075cb69d2eb 100644
--- a/docs/installation-and-operations/installation/manual/README.md
+++ b/docs/installation-and-operations/installation/manual/README.md
@@ -110,19 +110,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.3.4` and install that version.
+Read the first line e.g. `3.4.1` and install that version.
```shell
-[openproject@host] rbenv install 3.3.4
+[openproject@host] rbenv install 3.4.1
[openproject@host] rbenv rehash
-[openproject@host] rbenv global 3.3.4
+[openproject@host] rbenv global 3.4.1
```
To check our Ruby installation we run `ruby --version`. It should output
something very similar to:
```text
-ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
+ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [arm64-darwin23]
```
## Installation of Node