From 7803699c6c44eaa7897e0b4e811251fdc451bc86 Mon Sep 17 00:00:00 2001 From: lapineige Date: Tue, 13 Feb 2024 23:10:45 +0100 Subject: [PATCH] install corepack --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 886f5cc..b506562 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -340,6 +340,7 @@ then ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config without 'development test' ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN) ynh_use_nodejs + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm i corepack ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH corepack enable ynh_exec_as $app $ynh_node_load_PATH yarn install ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:clean