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

update bundler in docker build to fix issue with uninstalled gems

Markus Kahl273389c84e32
diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfile
index a8f8aa3de6d..5efbcdc03c1 100644
--- a/docker/ci/Dockerfile
+++ b/docker/ci/Dockerfile
@@ -3,7 +3,7 @@ ARG RUBY_VERSION
FROM ruby:${RUBY_VERSION}-bookworm
ENV NODE_VERSION="20.9.0"
-ENV BUNDLER_VERSION="2.5.13"
+ENV BUNDLER_VERSION="2.6.3"
ENV DEBIAN_FRONTEND=noninteractive
ENV BUNDLE_WITHOUT="development:production:docker"
diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfile
index 679c53c304d..c7d2002f1f0 100644
--- a/docker/dev/backend/Dockerfile
+++ b/docker/dev/backend/Dockerfile
@@ -8,7 +8,7 @@ ENV USER=dev
ENV RAILS_ENV=development
ENV NODE_MAJOR=20
-ENV BUNDLER_VERSION "2.5.13"
+ENV BUNDLER_VERSION "2.6.3"
# `--no-log-init` is required as a workaround to avoid disk exhaustion.
#
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile
index 46615f32094..a49f47967f5 100755
--- a/docker/prod/Dockerfile
+++ b/docker/prod/Dockerfile
@@ -2,7 +2,7 @@ ARG RUBY_VERSION="3.4.1"
FROM ruby:${RUBY_VERSION}-bookworm AS base
LABEL maintainer="[email protected]"
-ARG BUNDLER_VERSION="2.5.13"
+ARG BUNDLER_VERSION="2.6.3"
ARG NODE_VERSION="20.9.0"
ARG BIM_SUPPORT=true
ENV USE_JEMALLOC=false
diff --git a/docs/development/development-environment/linux/README.md b/docs/development/development-environment/linux/README.md
index 85c953037e5..f42ab24c667 100644
--- a/docs/development/development-environment/linux/README.md
+++ b/docs/development/development-environment/linux/README.md
@@ -76,7 +76,7 @@ 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).
@@ -184,7 +184,7 @@ ruby --version
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [arm64-darwin23]
bundler --version
-Bundler version 2.5.13
+Bundler version 2.6.3
node --version
v20.9.0
diff --git a/docs/development/development-environment/macos/README.md b/docs/development/development-environment/macos/README.md
index c7535b4160d..606a4028488 100644
--- a/docs/development/development-environment/macos/README.md
+++ b/docs/development/development-environment/macos/README.md
@@ -137,7 +137,7 @@ $ ruby --version
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [arm64-darwin23]
$ bundler --version
-Bundler version 2.5.13
+Bundler version 2.6.3
node --version
v20.9.0