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

Install bundler in the CI docker script right before usage.

Dombi Attila002b54119447
diff --git a/docker/ci/entrypoint.sh b/docker/ci/entrypoint.sh
index 31038a159ad..0a74346c633 100755
--- a/docker/ci/entrypoint.sh
+++ b/docker/ci/entrypoint.sh
@@ -107,7 +107,9 @@ setup_tests() {
execute_quiet "cp docker/ci/database.yml config/"
create_db_cluster
- run_background execute "BUNDLE_JOBS=8 bundle install --quiet && bundle clean --force && echo BUNDLE DONE"
+ execute "gem install bundler --version '${BUNDLER_VERSION}' --no-document"
+
+ run_background execute "BUNDLE_JOBS=8 bundle install --quiet && bundle clean --force && echo BUNDLE DONE"
run_background execute "JOBS=8 time npm install --quiet && npm prune --quiet && echo NPM DONE"
wait_for_background