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.2.1 & bundler to 2.4.7

ulferts1b0bf0626a8f
diff --git a/.ruby-version b/.ruby-version
index 944880fa15e..e4604e3afd0 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-3.2.0
+3.2.1
diff --git a/Gemfile b/Gemfile
index 92c89f64e5e..f852033660b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -28,7 +28,7 @@
source 'https://rubygems.org'
-ruby '~> 3.2.0'
+ruby '~> 3.2.1'
gem 'actionpack-xml_parser', '~> 2.0.0'
gem 'activemodel-serializers-xml', '~> 1.0.1'
diff --git a/Gemfile.lock b/Gemfile.lock
index 9b30bdd9349..0212bb8b8b7 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1110,7 +1110,7 @@ DEPENDENCIES
with_advisory_lock (~> 4.6.0)
RUBY VERSION
- ruby 3.2.0p0
+ ruby 3.2.1p31
BUNDLED WITH
- 2.4.1
+ 2.4.7
diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfile
index 3710434e81a..280e2589ddd 100644
--- a/docker/ci/Dockerfile
+++ b/docker/ci/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.2.0-buster
+FROM ruby:3.2.1-buster
MAINTAINER [email protected]
ENV NODE_VERSION="16.17.0"
@@ -27,7 +27,7 @@ RUN for url in $CHROME_SOURCE_URL; do \
ENV CI=true
ENV RAILS_ENV=test
-ENV BUNDLER_VERSION="2.4.1"
+ENV BUNDLER_VERSION="2.4.7"
ENV BUNDLE_WITHOUT="development:production:docker"
ENV OPENPROJECT_DISABLE_DEV_ASSET_PROXY=1
ENV CAPYBARA_DYNAMIC_BIND_IP=1
diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfile
index 6f42c55d96b..f4b461e4ea8 100644
--- a/docker/dev/backend/Dockerfile
+++ b/docker/dev/backend/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.2.0-bullseye as develop
+FROM ruby:3.2.1-bullseye as develop
MAINTAINER [email protected]
ARG DEV_UID=1000
@@ -7,7 +7,7 @@ ARG DEV_GID=1001
ENV USER=dev
ENV RAILS_ENV=development
-ENV BUNDLER_VERSION "2.4.1"
+ENV BUNDLER_VERSION "2.4.7"
# `--no-log-init` is required as a workaround to avoid disk exhaustion.
#
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile
index 3dba905a624..81014b14fcb 100644
--- a/docker/prod/Dockerfile
+++ b/docker/prod/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.2.0-buster
+FROM ruby:3.2.1-buster
MAINTAINER [email protected]
# Allow platform-specific additions. Valid values are: on-prem,saas,bahn
@@ -8,7 +8,7 @@ ARG GITHUB_OAUTH_TOKEN
ARG DEBIAN_FRONTEND=noninteractive
ENV NODE_VERSION="16.17.0"
-ENV BUNDLER_VERSION="2.4.1"
+ENV BUNDLER_VERSION="2.4.7"
ENV BUNDLE_PATH__SYSTEM=false
ENV APP_USER=app
ENV APP_PATH=/app
diff --git a/docs/development/development-environment-docker/README.md b/docs/development/development-environment-docker/README.md
index cebc03258bc..040d9415ccb 100644
--- a/docs/development/development-environment-docker/README.md
+++ b/docs/development/development-environment-docker/README.md
@@ -186,7 +186,7 @@ When a dependency of the image or the base image itself is changed you may need
Ruby version is updated you may run into an error like the following when running `bin/compose setup`:
```
-Your Ruby version is 2.7.6, but your Gemfile specified ~> 3.2.0
+Your Ruby version is 2.7.6, but your Gemfile specified ~> 3.2.1
```
This means that the current image is out-dated. You can update it like this:
diff --git a/docs/development/development-environment-osx/README.md b/docs/development/development-environment-osx/README.md
index 7b0daeee248..3018e5cd6cc 100644
--- a/docs/development/development-environment-osx/README.md
+++ b/docs/development/development-environment-osx/README.md
@@ -15,7 +15,7 @@ We'll use [homebrew](https://brew.sh/) to install most of our requirements. Plea
## Install Ruby
-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.2.0"
+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.2.1"
### Install rbenv and ruby-build
@@ -29,23 +29,23 @@ $ brew install rbenv ruby-build
$ rbenv init
```
-### Installing ruby-3.0
+### Installing ruby
-With both installed, we can now install the actual ruby version 3.0. You can check available ruby versions with `rbenv install --list`.
-At the time of this writing, the latest stable version is `3.2.0`, which we also require.
+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.2.1`, 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
and install that version.
```bash
# Install the required version as read from the Gemfile
-rbenv install 3.2.0
+rbenv install 3.2.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
```bash
-rbenv global 3.2.0
+rbenv global 3.2.1
```
You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler.
@@ -116,10 +116,10 @@ You should now have an active ruby and node installation. Verify that it works w
```bash
$ ruby --version
-ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux]
+ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin22]
$ bundler --version
-Bundler version 2.4.1
+Bundler version 2.4.7
node --version
v16.17.0
diff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.md
index 6c02b16ee70..809e2d6ffd3 100644
--- a/docs/development/development-environment-ubuntu/README.md
+++ b/docs/development/development-environment-ubuntu/README.md
@@ -26,7 +26,7 @@ sudo apt-get install git curl build-essential zlib1g-dev libyaml-dev libssl-dev
## Install Ruby
-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.2.0"
+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.2.1"
### Install rbenv and ruby-build
@@ -60,20 +60,20 @@ 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.2.0` which we also require.
+At the time of this writing, the latest stable version is `3.2.1` 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
and install that version.
```bash
# Install the required version as read from the Gemfile
-rbenv install 3.2.0
+rbenv install 3.2.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
```bash
-rbenv global 3.2.0
+rbenv global 3.2.1
rbenv rehash
```
@@ -159,10 +159,10 @@ You should now have an active ruby and node installation. Verify that it works w
```bash
ruby --version
-ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux]
+ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-linux]
bundler --version
-Bundler version 2.4.1
+Bundler version 2.4.7
node --version
v16.13.1
diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.md
index bb1ec4447df..dc1c555afb1 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.2.0
+[openproject@host] rbenv install 3.2.1
[openproject@host] rbenv rehash
-[openproject@host] rbenv global 3.2.0
+[openproject@host] rbenv global 3.2.1
```
To check our Ruby installation we run `ruby --version`. It should output
something very similar to:
```
-ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux]
+ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-linux]
```
## Installation of Node