Fix unsetting frozen and deployment on newer bundler versions

deployment flag must be unset locally
pull/11265/head
Oliver Günther 2 years ago
parent b91389663a
commit e6354adec1
  1. 4
      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

Loading…
Cancel
Save