From 8ab14654a682bf5d95277ac8123a8eca615fb2bf Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 24 Apr 2022 09:37:43 +0200 Subject: [PATCH] Fix Nokogiri dep install --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 696d59e..bb99a57 100644 --- a/scripts/install +++ b/scripts/install @@ -206,6 +206,7 @@ ynh_script_progression --message="Installing Mastodon..." pushd "$final_path/live" ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config deployment 'true' 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 config set force_ruby_platform true 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 yarn install --pure-lockfile diff --git a/scripts/upgrade b/scripts/upgrade index 1c24a62..3b8290c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -272,6 +272,7 @@ ynh_script_progression --message="Upgrading Mastodon..." pushd "$final_path/live" ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config deployment 'true' 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 config set force_ruby_platform true --quiet ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN) ynh_use_nodejs ynh_exec_as $app $ynh_node_load_PATH yarn install --pure-lockfile