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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Bump ruby from 3.0.3 to 3.0.4
Christophe Bliard6cb4af657b36
diff --git a/.ruby-version b/.ruby-versionindex 282895a8f8f..b0f2dcb32fc 100644--- a/.ruby-version+++ b/.ruby-version@@ -1 +1 @@-3.0.3\ No newline at end of file+3.0.4diff --git a/Gemfile b/Gemfileindex 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.lockindex 5b4a4a653a2..4817c211246 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -1147,7 +1147,7 @@ DEPENDENCIESwith_advisory_lock (~> 4.6.0)RUBY VERSION- ruby 3.0.3p157+ ruby 3.0.4p208BUNDLED WITH- 2.2.32+ 2.3.12diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfileindex 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-busterMAINTAINER [email protected]ENV NODE_VERSION="14.17.0"@@ -27,7 +27,7 @@ RUN for url in $CHROME_SOURCE_URL; do \ENV CI=trueENV 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=1ENV CAPYBARA_DYNAMIC_BIND_IP=1diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfileindex 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 developMAINTAINER [email protected]ARG DEV_UID=1000@@ -7,7 +7,7 @@ ARG DEV_GID=1001ENV USER=devENV 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/Dockerfileindex 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-busterMAINTAINER [email protected]# Allow platform-specific additions. Valid values are: on-prem,saas,bahn@@ -8,7 +8,7 @@ ARG GITHUB_OAUTH_TOKENARG DEBIAN_FRONTEND=noninteractiveENV NODE_VERSION="14.17.0"-ENV BUNDLER_VERSION="2.1.4"+ENV BUNDLER_VERSION="2.3.12"ENV BUNDLE_PATH__SYSTEM=falseENV APP_USER=appENV APP_PATH=/appdiff --git a/docs/development/development-environment-docker/README.md b/docs/development/development-environment-docker/README.mdindex 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 needRuby 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.mdindex 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.0With 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'` lineand 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.12node --versionv14.17.0@@ -264,4 +264,3 @@ If an error occurs, it should be logged there (as well as in the output to STDOUIf 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.mdindex 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 tutorialWe 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)```bashsudo 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.0With 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'` lineand 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.4rbenv rehash```@@ -159,10 +159,10 @@ You should now have an active ruby and node installation. Verify that it works w```bashruby --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.12node --versionv16.13.1diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.mdindex 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 outputsomething 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