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 2.7.4 (#9437)

Oliver Güntherd8027ebc3856
diff --git a/.github/workflows/test-core.yml b/.github/workflows/test-core.yml
index f726df3be62..d9db42d21bf 100644
--- a/.github/workflows/test-core.yml
+++ b/.github/workflows/test-core.yml
@@ -47,7 +47,7 @@ jobs:
${{ runner.os }}-core-tests-
- name: test
run: |
- docker-compose -f docker-compose.ci.yml build ci
+ docker-compose -f docker-compose.ci.yml build --pull ci
docker-compose -f docker-compose.ci.yml run ci setup-tests run-units
- name: cleanup
if: ${{ always() }}
@@ -77,7 +77,7 @@ jobs:
${{ runner.os }}-core-tests-
- name: test
run: |
- docker-compose -f docker-compose.ci.yml build ci
+ docker-compose -f docker-compose.ci.yml build --pull ci
docker-compose -f docker-compose.ci.yml run ci setup-tests run-features
- name: cleanup
if: ${{ always() }}
diff --git a/.ruby-version b/.ruby-version
index 2c9b4ef42ec..a4dd9dba4fb 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-2.7.3
+2.7.4
diff --git a/Gemfile b/Gemfile
index d7f2a858ff7..040eb9c4752 100644
--- a/Gemfile
+++ b/Gemfile
@@ -28,7 +28,7 @@
source 'https://rubygems.org'
-ruby '~> 2.7.3'
+ruby '~> 2.7.4'
gem 'actionpack-xml_parser', '~> 2.0.0'
gem 'activemodel-serializers-xml', '~> 1.0.1'
diff --git a/Gemfile.lock b/Gemfile.lock
index bb5f5e71c7f..7877757cefa 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1117,7 +1117,7 @@ DEPENDENCIES
with_advisory_lock (~> 4.6.0)
RUBY VERSION
- ruby 2.7.3p183
+ ruby 2.7.4p191
BUNDLED WITH
2.1.4
diff --git a/docs/development/development-environment-docker/README.md b/docs/development/development-environment-docker/README.md
index ebd1af7ce77..afaee847fbd 100644
--- a/docs/development/development-environment-docker/README.md
+++ b/docs/development/development-environment-docker/README.md
@@ -192,7 +192,7 @@ an error like the following when running `bin/compose setup`:
```
Creating core_backend_run ... done
-Your Ruby version is 2.7.1, but your Gemfile specified ~> 2.7.3
+Your Ruby version is 2.7.1, but your Gemfile specified ~> 2.7.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 3a584749b83..d5dc7890ece 100644
--- a/docs/development/development-environment-osx/README.md
+++ b/docs/development/development-environment-osx/README.md
@@ -32,20 +32,20 @@ $ rbenv init
### Installing ruby-2.7
With both installed, we can now install the actual ruby version 2.7. You can check available ruby versions with `rbenv install --list`.
-At the time of this writing, the latest stable version is `2.7.3`, which we also require.
+At the time of this writing, the latest stable version is `2.7.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 2.7.3
+rbenv install 2.7.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 2.7.3
+rbenv global 2.7.4
```
You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler.
@@ -116,7 +116,7 @@ You should now have an active ruby and node installation. Verify that it works w
```bash
$ ruby --version
-ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-linux]
+ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
$ bundler --version
Bundler version 2.1.4
diff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.md
index 68e4b33056e..1956282bb18 100644
--- a/docs/development/development-environment-ubuntu/README.md
+++ b/docs/development/development-environment-ubuntu/README.md
@@ -54,20 +54,20 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
### Installing ruby-2.7
With both installed, we can now install the actual ruby version 2.7. You can check available ruby versions with `rbenv install --list`.
-At the time of this writing, the latest stable version is `2.7.3`, which we also require.
+At the time of this writing, the latest stable version is `2.7.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 2.7.3
+rbenv install 2.7.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 2.7.3
+rbenv global 2.7.4
rbenv rehash
```
@@ -155,7 +155,7 @@ You should now have an active ruby and node installation. Verify that it works w
```bash
ruby --version
-ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-linux]]
+ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
bundler --version
Bundler version 2.1.4
diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.md
index e7de748954a..21c7f0625e7 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 2.7.3
+[openproject@host] rbenv install 2.7.4
[openproject@host] rbenv rehash
-[openproject@host] rbenv global 2.7.3
+[openproject@host] rbenv global 2.7.4
```
To check our Ruby installation we run `ruby --version`. It should output
something very similar to:
```
-ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-linux]
+ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
```
## Installation of Node