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 from 3.0.3 to 3.0.4

Christophe Bliard6cb4af657b36
diff --git a/.ruby-version b/.ruby-version
index 282895a8f8f..b0f2dcb32fc 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-3.0.3
\ No newline at end of file
+3.0.4
diff --git a/Gemfile b/Gemfile
index f9e4f98eeca..a5d0ddb2612 100644
--- a/Gemfile
+++ b/Gemfile
@@ -28,7 +28,7 @@
source 'https://rubygems.org'
-ruby '~> 3.0.3'
+ruby '~> 3.0.4'
gem 'actionpack-xml_parser', '~> 2.0.0'
gem 'activemodel-serializers-xml', '~> 1.0.1'
diff --git a/Gemfile.lock b/Gemfile.lock
index 5b4a4a653a2..4817c211246 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1147,7 +1147,7 @@ DEPENDENCIES
with_advisory_lock (~> 4.6.0)
RUBY VERSION
- ruby 3.0.3p157
+ ruby 3.0.4p208
BUNDLED WITH
- 2.2.32
+ 2.3.12
diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfile
index 0412c6844d3..0334bf0cde6 100644
--- a/docker/ci/Dockerfile
+++ b/docker/ci/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.0.3-buster
+FROM ruby:3.0.4-buster
MAINTAINER [email protected]
ENV NODE_VERSION="14.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.1.4"
+ENV BUNDLER_VERSION="2.3.12"
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 394509b4ab0..5c01e796b3e 100644
--- a/docker/dev/backend/Dockerfile
+++ b/docker/dev/backend/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.0.3-bullseye as develop
+FROM ruby:3.0.4-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.2.32"
+ENV BUNDLER_VERSION "2.3.12"
# `--no-log-init` is required as a workaround to avoid disk exhaustion.
#
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile
index 13cf700fd9a..0f7e68ed832 100644
--- a/docker/prod/Dockerfile
+++ b/docker/prod/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.0.3-buster
+FROM ruby:3.0.4-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="14.17.0"
-ENV BUNDLER_VERSION="2.1.4"
+ENV BUNDLER_VERSION="2.3.12"
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 324dd67d448..21f21261fcb 100644
--- a/docs/development/development-environment-docker/README.md
+++ b/docs/development/development-environment-docker/README.md
@@ -192,7 +192,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.4, but your Gemfile specified ~> 3.0.3
+Your Ruby version is 2.7.4, but your Gemfile specified ~> 3.0.4
```
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 9c0b546fbf4..2b345adc551 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.0.3"
+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.0.4"
### Install rbenv and ruby-build
@@ -32,20 +32,20 @@ $ rbenv init
### Installing ruby-3.0
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.0.3`, which we also require.
+At the time of this writing, the latest stable version is `3.0.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
and install that version.
```bash
# Install the required version as read from the Gemfile
-rbenv install 3.0.3
+rbenv install 3.0.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
```bash
-rbenv global 3.0.3
+rbenv global 3.0.4
```
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.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-darwin20]
+ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
$ bundler --version
-Bundler version 2.1.4
+Bundler version 2.3.12
node --version
v14.17.0
@@ -264,4 +264,3 @@ If an error occurs, it should be logged there (as well as in the output to STDOU
If you have any further questions, comments, feedback, or an idea to enhance this guide, please tell us at the appropriate community.openproject.org [forum](https://community.openproject.org/projects/openproject/boards/9).
[Follow OpenProject on twitter](https://twitter.com/openproject), and follow [the news](https://www.openproject.org/blog) to stay up to date.
-
diff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.md
index 3e051f745bd..d19b945d80f 100644
--- a/docs/development/development-environment-ubuntu/README.md
+++ b/docs/development/development-environment-ubuntu/README.md
@@ -17,7 +17,7 @@ If you find any bugs or you have any recommendations for improving this tutorial
We need an active Ruby and Node JS environment to run OpenProject. To this end, we need some packages installed on the system.o
-CPU recommendation: 4 CPUs, Memory recommendation: 8 better 16 GB (in general we meed double the amount of a normal production installation)
+CPU recommendation: 4 CPUs, Memory recommendation: 8 better 16 GB (in general we need double the amount of a normal production installation)
```bash
sudo apt-get update
@@ -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.0.3"
+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.0.4"
### Install rbenv and ruby-build
@@ -60,20 +60,20 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
### Installing ruby-3.0
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.0.3` which we also require.
+At the time of this writing, the latest stable version is `3.0.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
and install that version.
```bash
# Install the required version as read from the Gemfile
-rbenv install 3.0.3
+rbenv install 3.0.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
```bash
-rbenv global 3.0.3
+rbenv global 3.0.4
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.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-darwin20]
+ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
bundler --version
-Bundler version 2.2.33
+Bundler version 2.3.12
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 d11f47cceb6..27aadb21951 100644
--- a/docs/installation-and-operations/installation/manual/README.md
+++ b/docs/installation-and-operations/installation/manual/README.md
@@ -106,16 +106,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.0.3
+[openproject@host] rbenv install 3.0.4
[openproject@host] rbenv rehash
-[openproject@host] rbenv global 3.0.3
+[openproject@host] rbenv global 3.0.4
```
To check our Ruby installation we run `ruby --version`. It should output
something very similar to:
```
-ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-darwin20]
+ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
```
## Installation of Node
@@ -142,7 +142,7 @@ time to finish.
To check our Node installation we run `node --version`. It should output something very similar to:
```
-v14.16.0
+v14.17.0
```
## Installation of OpenProject