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

[35103] Lift deployment config from bundler

Oliver Günther4e9591c762f1
diff --git a/packaging/addons/openproject/bin/postinstall b/packaging/addons/openproject/bin/postinstall
index 2e85fc143cb..96e40c28af7 100755
--- a/packaging/addons/openproject/bin/postinstall
+++ b/packaging/addons/openproject/bin/postinstall
@@ -13,6 +13,9 @@ 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
+ # Unset deployment, allowing changes to the Gemfile
+ ${CLI} run bundle config unset deployment
+
# Re-bundle the application including gems
${CLI} run bundle install