DEV: Remove deprecation warnings from bundler (#690)
authorGerhard Schlager <gerhard.schlager@discourse.org>
Mon, 13 Mar 2023 09:55:44 +0000 (10:55 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2023 09:55:44 +0000 (10:55 +0100)
templates/web.template.yml

index e574210d9a6ea250f2a1523a0337e1bd8e364be4..9718103f80e280274844829319db2be0255be77e 100644 (file)
@@ -162,7 +162,9 @@ run:
       cd: $home
       hook: bundle_exec
       cmd:
-        - su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
+        - su discourse -c 'bundle config --local deployment true'
+        - su discourse -c 'bundle config --local without "development test"'
+        - su discourse -c 'bundle install --retry 3 --jobs 4'
 
   - exec:
       cd: $home