aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
authoreric_G <46165813+ericgaspar@users.noreply.github.com>2025-09-24 22:57:50 +0200
committereric_G <46165813+ericgaspar@users.noreply.github.com>2025-09-24 22:57:50 +0200
commit192d0fa48372d1ac5a8f73947df2e8da5e5da54a (patch)
treef825f7ad0b74e99700b0b273cdfc4f27ea3683f8 /scripts/restore
parentf153dc5aa68f66d3fabe39baa54f7fcdad8e3ebf (diff)
parentfdc80e8c352611d3422a2b903840a25e5e277d01 (diff)
downloadmastodon_ynh-192d0fa48372d1ac5a8f73947df2e8da5e5da54a.tar.gz
mastodon_ynh-192d0fa48372d1ac5a8f73947df2e8da5e5da54a.tar.bz2
mastodon_ynh-192d0fa48372d1ac5a8f73947df2e8da5e5da54a.zip
Merge branch 'testing' into pr/466
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore10
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/restore b/scripts/restore
index 6052da2..2491c12 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -37,14 +37,6 @@ ynh_script_progression "Adding $swap_needed Mo to swap..."
ynh_add_swap --size=$swap_needed
#=================================================
-# REINSTALL DEPENDENCIES
-#=================================================
-ynh_script_progression "Reinstalling Ruby and NodeJS..."
-
-ynh_ruby_install
-ynh_nodejs_install
-
-#=================================================
# BUILD APP
#=================================================
ynh_script_progression "Building app..."
@@ -52,7 +44,7 @@ ynh_script_progression "Building app..."
pushd "$install_dir/live"
gem update --system
gem install bundler --no-document
- ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle install --redownload -j$(getconf _NPROCESSORS_ONLN)
+ ynh_hide_warnings ynh_exec_as_app LD_PRELOAD=libjemalloc.so bin/bundle install --redownload -j$(getconf _NPROCESSORS_ONLN)
popd
#=================================================