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