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
Update Ruby to version 3.3.6
Klaus Zanders80072ea9e869
diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.ymlindex eab13d3a371..9f72399d2ee 100644--- a/.github/workflows/danger.yml+++ b/.github/workflows/danger.yml@@ -5,8 +5,8 @@ on:branches:- release/*paths:- - 'db/migrate/**.rb'- - 'modules/**/db/migrate/*.rb'+ - "db/migrate/**.rb"+ - "modules/**/db/migrate/*.rb"jobs:danger:@@ -17,10 +17,11 @@ jobs:- uses: actions/checkout@v4- uses: ruby/setup-ruby@v1with:- ruby-version: '3.3.4'+ ruby-version: .ruby-version+ bundler-cache: true- uses: MeilCli/danger-action@v6with:- danger_file: 'Dangerfile'- danger_id: 'danger-pr'+ danger_file: "Dangerfile"+ danger_id: "danger-pr"env:DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/.ruby-version b/.ruby-versionindex a0891f563f3..9c25013dbb8 100644--- a/.ruby-version+++ b/.ruby-version@@ -1 +1 @@-3.3.4+3.3.6diff --git a/Gemfile.lock b/Gemfile.lockindex 1e0775fb8e5..0ecf57b76d8 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -1409,7 +1409,7 @@ DEPENDENCIESwith_advisory_lock (~> 5.1.0)RUBY VERSION- ruby 3.3.4p94+ ruby 3.3.6p108BUNDLED WITH- 2.5.13+ 2.5.23diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfileindex a8f8aa3de6d..a2cbc832051 100644--- a/docker/ci/Dockerfile+++ b/docker/ci/Dockerfile@@ -3,7 +3,7 @@ ARG RUBY_VERSIONFROM ruby:${RUBY_VERSION}-bookwormENV NODE_VERSION="20.9.0"-ENV BUNDLER_VERSION="2.5.13"+ENV BUNDLER_VERSION="2.5.23"ENV DEBIAN_FRONTEND=noninteractiveENV BUNDLE_WITHOUT="development:production:docker"diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfileindex d1e2b2f9422..ae712a442d7 100644--- a/docker/dev/backend/Dockerfile+++ b/docker/dev/backend/Dockerfile@@ -1,4 +1,4 @@-FROM ruby:3.3.4-bullseye AS develop+FROM ruby:3.3.6-bullseye AS developMAINTAINER [email protected]ARG DEV_UID=1000@@ -8,7 +8,7 @@ ENV USER=devENV RAILS_ENV=developmentENV NODE_MAJOR=20-ENV BUNDLER_VERSION "2.5.13"+ENV BUNDLER_VERSION "2.5.23"# `--no-log-init` is required as a workaround to avoid disk exhaustion.#diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfileindex 2025a5d0ece..a1cc8ba2653 100644--- a/docker/prod/Dockerfile+++ b/docker/prod/Dockerfile@@ -1,8 +1,8 @@-ARG RUBY_VERSION="3.3.4"+ARG RUBY_VERSION="3.3.6"FROM ruby:${RUBY_VERSION}-bookworm AS baseLABEL maintainer="[email protected]"-ARG BUNDLER_VERSION="2.5.13"+ARG BUNDLER_VERSION="2.5.23"ARG NODE_VERSION="20.9.0"ARG BIM_SUPPORT=trueENV USE_JEMALLOC=falsediff --git a/docs/development/development-environment/linux/README.md b/docs/development/development-environment/linux/README.mdindex 94e71970075..7c6ea389cea 100644--- a/docs/development/development-environment/linux/README.md+++ b/docs/development/development-environment/linux/README.md@@ -40,10 +40,10 @@ sudo apt-get install git curl build-essential zlib1g-dev libyaml-dev libssl-devUse [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to installRuby.You can check available ruby versions with `rbenv install --list`.-At the time of this writing, the latest stable version is `3.3.4`, which we also require.+At the time of this writing, the latest stable version is `3.3.6`, which we also require.We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version).-Read the first line e.g. `3.3.4` and install that version.+Read the first line e.g. `3.3.6` and install that version.#### Install rbenv and ruby-build@@ -76,22 +76,22 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build#### Installing ruby-With both installed, we can now install ruby.+With both installed, we can now install ruby.You can check available ruby versions with `rbenv install --list`.We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version).-Read the first line e.g. `3.3.4` and install that version.+Read the first line e.g. `3.3.6` and install that version.```shell# Install the required version as read from the .ruby-version file-rbenv install 3.3.4+rbenv install 3.3.6```This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv toglobally activate this version```shell-rbenv global 3.3.4+rbenv global 3.3.6rbenv rehash```@@ -181,10 +181,10 @@ You should now have an active ruby and node installation. Verify that it works w```shellruby --version-ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]+ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [arm64-darwin24]bundler --version-Bundler version 2.5.13+Bundler version 2.5.23node --versionv20.9.0diff --git a/docs/development/development-environment/macos/README.md b/docs/development/development-environment/macos/README.mdindex 279b6b71aa8..2b8a2dd3450 100644--- a/docs/development/development-environment/macos/README.md+++ b/docs/development/development-environment/macos/README.md@@ -28,7 +28,7 @@ their homepage.Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to installRuby. We always require the latest ruby versions, and you can check which version is requiredby [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.3.4"+the time of writing, this version is "3.3.6"#### Install rbenv and ruby-build@@ -48,18 +48,18 @@ With both installed, we can now install the actual ruby version.You can check available ruby versions with `rbenv install --list`.We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version).-Read the first line e.g. `3.3.4` and install that version.+Read the first line e.g. `3.3.6` and install that version.```shell# Install the required version as read from the .ruby-version file-rbenv install 3.3.4+rbenv install 3.3.6```This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv toglobally activate this version```shell-rbenv global 3.3.4+rbenv global 3.3.6```You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler.@@ -134,10 +134,10 @@ You should now have an active ruby and node installation. Verify that it works w```shell$ ruby --version-ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]+ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [arm64-darwin24]$ bundler --version-Bundler version 2.5.13+Bundler version 2.5.23node --versionv20.9.0diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.mdindex ca8887e63df..f9646bebd5c 100644--- a/docs/installation-and-operations/installation/manual/README.md+++ b/docs/installation-and-operations/installation/manual/README.md@@ -96,8 +96,8 @@ Lastly, revert to the previous system user:## Installation of Ruby-The are several possibilities to install Ruby on your machine.-We will use [rbenv](https://github.com/rbenv/rbenv).+The are several possibilities to install Ruby on your machine.+We will use [rbenv](https://github.com/rbenv/rbenv).Please be aware that the actual installation of a specific Ruby version takes some time to finish.```shell@@ -110,19 +110,19 @@ Please be aware that the actual installation of a specific Ruby version takes so```We suggest you install the version we require in [.ruby-version](https://github.com/opf/openproject/blob/dev/.ruby-version).-Read the first line e.g. `3.3.4` and install that version.+Read the first line e.g. `3.3.6` and install that version.```shell-[openproject@host] rbenv install 3.3.4+[openproject@host] rbenv install 3.3.6[openproject@host] rbenv rehash-[openproject@host] rbenv global 3.3.4+[openproject@host] rbenv global 3.3.6```To check our Ruby installation we run `ruby --version`. It should outputsomething very similar to:```text-ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]+ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [arm64-darwin24]```## Installation of Nodediff --git a/script/github_pr_errors b/script/github_pr_errorsindex 5af12dbb487..9498793d835 100755--- a/script/github_pr_errors+++ b/script/github_pr_errors@@ -285,7 +285,7 @@ end# rubocop:disable Layout/LineLength# Looks like this in the job log:-# Process 28: TEST_ENV_NUMBER=28 RUBYOPT=-I/usr/local/bundle/bundler/gems/turbo_tests-3148ae6c3482/lib -r/usr/local/bundle/gems/bundler-2.5.13/lib/bundler/setup -W0 RSPEC_SILENCE_FILTER_ANNOUNCEMENTS=1 /usr/local/bundle/gems/bundler-2.5.13/exe/bundle exec rspec --seed 52674 --format TurboTests::JsonRowsFormatter --out tmp/test-pipes/subprocess-28 --format ParallelTests::RSpec::RuntimeLogger --out spec/support/turbo_runtime_features.log spec/features/api_docs/index_spec.rb spec/features/custom_fields/reorder_options_spec.rb spec/features/projects/projects_portfolio_spec.rb spec/features/projects/template_spec.rb spec/features/versions/edit_spec.rb spec/features/work_packages/details/markdown/description_editor_spec.rb spec/features/work_packages/table/hierarchy/hierarchy_parent_below_spec.rb spec/features/work_packages/table/inline_create/inline_create_refresh_spec.rb spec/features/work_packages/table/invalid_query_spec.rb spec/features/work_packages/tabs/activity_revisions_spec.rb+# Process 28: TEST_ENV_NUMBER=28 RUBYOPT=-I/usr/local/bundle/bundler/gems/turbo_tests-3148ae6c3482/lib -r/usr/local/bundle/gems/bundler-2.5.23/lib/bundler/setup -W0 RSPEC_SILENCE_FILTER_ANNOUNCEMENTS=1 /usr/local/bundle/gems/bundler-2.5.23/exe/bundle exec rspec --seed 52674 --format TurboTests::JsonRowsFormatter --out tmp/test-pipes/subprocess-28 --format ParallelTests::RSpec::RuntimeLogger --out spec/support/turbo_runtime_features.log spec/features/api_docs/index_spec.rb spec/features/custom_fields/reorder_options_spec.rb spec/features/projects/projects_portfolio_spec.rb spec/features/projects/template_spec.rb spec/features/versions/edit_spec.rb spec/features/work_packages/details/markdown/description_editor_spec.rb spec/features/work_packages/table/hierarchy/hierarchy_parent_below_spec.rb spec/features/work_packages/table/inline_create/inline_create_refresh_spec.rb spec/features/work_packages/table/invalid_query_spec.rb spec/features/work_packages/tabs/activity_revisions_spec.rb# rubocop:enable Layout/LineLengthclass TestsGroupattr_accessor :test_env_number, :seed, :files