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

Fix unsetting frozen and deployment on newer bundler versions

Oliver Günthere6354adec137
diff --git a/packaging/addons/openproject/bin/postinstall b/packaging/addons/openproject/bin/postinstall
index 35505840ca7..0fbd81f0590 100755
--- a/packaging/addons/openproject/bin/postinstall
+++ b/packaging/addons/openproject/bin/postinstall
@@ -15,10 +15,10 @@ custom_gemfile=$(${CLI} config:get CUSTOM_PLUGIN_GEMFILE || echo "")
if [ -n "$custom_gemfile" ] && [ -f "$custom_gemfile" ]; then
# Need to override the frozen setting for the vendored gems
- ${CLI} run bundle config --local frozen 0
+ ${CLI} run bundle config set --local frozen 'false'
# Unset deployment, allowing changes to the Gemfile
- ${CLI} run bundle config unset deployment
+ ${CLI} run bundle config set --local deployment 'false'
# Re-bundle the application including gems
${CLI} run bundle install