aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 7d747e0..ee97cde 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -289,7 +289,9 @@ chown -R "$app": "$final_path"
pushd "$final_path/live"
ynh_use_nodejs
- bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test
+ bundle config deployment 'true'
+ bundle config without 'development test'
+ bundle install -j$(getconf _NPROCESSORS_ONLN)
yarn install --pure-lockfile
RAILS_ENV=production bundle exec rails assets:clean
RAILS_ENV=production bundle exec rails assets:precompile