Merge pull request #9910 from opf/bump/ruby-2.7.5

Bump ruby to 2.7.5
pull/9923/head
ulferts 3 years ago committed by GitHub
commit 31046f8256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .ruby-version
  2. 2
      Gemfile
  3. 2
      Gemfile.lock
  4. 2
      docker/ci/Dockerfile
  5. 2
      docker/dev/backend/Dockerfile
  6. 2
      docker/prod/Dockerfile
  7. 2
      docs/development/development-environment-docker/README.md
  8. 8
      docs/development/development-environment-osx/README.md
  9. 8
      docs/development/development-environment-ubuntu/README.md
  10. 6
      docs/installation-and-operations/installation/manual/README.md

@ -1 +1 @@
2.7.4 2.7.5

@ -28,7 +28,7 @@
source 'https://rubygems.org' source 'https://rubygems.org'
ruby '~> 2.7.4' ruby '~> 2.7.5'
gem 'actionpack-xml_parser', '~> 2.0.0' gem 'actionpack-xml_parser', '~> 2.0.0'
gem 'activemodel-serializers-xml', '~> 1.0.1' gem 'activemodel-serializers-xml', '~> 1.0.1'

@ -1138,7 +1138,7 @@ DEPENDENCIES
with_advisory_lock (~> 4.6.0) with_advisory_lock (~> 4.6.0)
RUBY VERSION RUBY VERSION
ruby 2.7.4p191 ruby 2.7.5p203
BUNDLED WITH BUNDLED WITH
2.1.4 2.1.4

@ -1,4 +1,4 @@
FROM ruby:2.7.4-buster FROM ruby:2.7.5-buster
MAINTAINER operations@openproject.com MAINTAINER operations@openproject.com
ENV NODE_VERSION="14.17.0" ENV NODE_VERSION="14.17.0"

@ -1,4 +1,4 @@
FROM ruby:2.7.4-buster as develop FROM ruby:2.7.5-buster as develop
MAINTAINER operations@openproject.com MAINTAINER operations@openproject.com
ARG DEV_UID=1000 ARG DEV_UID=1000

@ -1,4 +1,4 @@
FROM ruby:2.7.4-buster FROM ruby:2.7.5-buster
MAINTAINER operations@openproject.com MAINTAINER operations@openproject.com
# Allow platform-specific additions. Valid values are: on-prem,saas,bahn # Allow platform-specific additions. Valid values are: on-prem,saas,bahn

@ -192,7 +192,7 @@ an error like the following when running `bin/compose setup`:
``` ```
Creating core_backend_run ... done Creating core_backend_run ... done
Your Ruby version is 2.7.1, but your Gemfile specified ~> 2.7.4 Your Ruby version is 2.7.1, but your Gemfile specified ~> 2.7.5
``` ```
This means that the current image is out-dated. You can update it like this: This means that the current image is out-dated. You can update it like this:

@ -32,20 +32,20 @@ $ rbenv init
### Installing ruby-2.7 ### 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`. 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.4`, which we also require. At the time of this writing, the latest stable version is `2.7.5`, 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 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. and install that version.
```bash ```bash
# Install the required version as read from the Gemfile # Install the required version as read from the Gemfile
rbenv install 2.7.4 rbenv install 2.7.5
``` ```
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 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 ```bash
rbenv global 2.7.4 rbenv global 2.7.5
``` ```
You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler. 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 ```bash
$ ruby --version $ ruby --version
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux] ruby 2.7.5p203 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
$ bundler --version $ bundler --version
Bundler version 2.1.4 Bundler version 2.1.4

@ -54,20 +54,20 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
### Installing ruby-2.7 ### 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`. 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.4`, which we also require. At the time of this writing, the latest stable version is `2.7.5`, 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 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. and install that version.
```bash ```bash
# Install the required version as read from the Gemfile # Install the required version as read from the Gemfile
rbenv install 2.7.4 rbenv install 2.7.5
``` ```
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 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 ```bash
rbenv global 2.7.4 rbenv global 2.7.5
rbenv rehash rbenv rehash
``` ```
@ -155,7 +155,7 @@ You should now have an active ruby and node installation. Verify that it works w
```bash ```bash
ruby --version ruby --version
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux] ruby 2.7.5p203 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
bundler --version bundler --version
Bundler version 2.1.4 Bundler version 2.1.4

@ -106,16 +106,16 @@ time to finish.
[openproject@host] source ~/.profile [openproject@host] source ~/.profile
[openproject@host] git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build [openproject@host] git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
[openproject@host] rbenv install 2.7.4 [openproject@host] rbenv install 2.7.5
[openproject@host] rbenv rehash [openproject@host] rbenv rehash
[openproject@host] rbenv global 2.7.4 [openproject@host] rbenv global 2.7.5
``` ```
To check our Ruby installation we run `ruby --version`. It should output To check our Ruby installation we run `ruby --version`. It should output
something very similar to: something very similar to:
``` ```
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux] ruby 2.7.5p203 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
``` ```
## Installation of Node ## Installation of Node

Loading…
Cancel
Save