From 2c5089d159ca1956953973bb7add85f8cbd27044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 13 Mar 2024 20:36:42 +0100 Subject: [PATCH] Fix restore and upgrade scripts with bundler version too --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 2636d09..2dc3a48 100755 --- a/scripts/restore +++ b/scripts/restore @@ -120,7 +120,7 @@ ynh_script_progression --message="Building app..." --weight=1 pushd $final_path ynh_use_ruby - ynh_exec_warn_less $ynh_gem install bundler + ynh_exec_warn_less $ynh_gem install "bundler:$bundler_version" ynh_exec_warn_less bin/bundle config --global frozen 1 ynh_exec_warn_less bin/bundle config set --local without 'development test doc' ynh_exec_warn_less bin/bundle install diff --git a/scripts/upgrade b/scripts/upgrade index 846d5e0..f2ca081 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -166,7 +166,7 @@ then ynh_secure_remove --file="$final_path/node_modules" ynh_secure_remove --file="$final_path/tmp/cache" ynh_use_ruby - ynh_exec_warn_less $ynh_gem install bundler + ynh_exec_warn_less $ynh_gem install "bundler:$bundler_version" ynh_exec_warn_less bin/bundle config --global frozen 1 ynh_exec_warn_less bin/bundle config set --local without 'development test doc' ynh_exec_warn_less bin/bundle install