aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-03-08 00:45:35 +0100
committeryalh76 <yalh@yahoo.com>2021-03-08 00:45:35 +0100
commit91ef58fdea28d22e16999e72d2990281fb52b3c2 (patch)
tree1f6e0c0d53f92febec8a3a638b92479ff182058d /scripts/restore
parentc4c79475213f752a42d427a9be4be25b5dcca02e (diff)
downloadmastodon_ynh-91ef58fdea28d22e16999e72d2990281fb52b3c2.tar.gz
mastodon_ynh-91ef58fdea28d22e16999e72d2990281fb52b3c2.tar.bz2
mastodon_ynh-91ef58fdea28d22e16999e72d2990281fb52b3c2.zip
Several fixes
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/restore b/scripts/restore
index 19a7715..64ac8f8 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -101,19 +101,20 @@ ynh_add_swap --size=$swap_needed
#=================================================
ynh_script_progression --message="Reinstalling dependencies..."
+ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
-ynh_install_app_dependencies $pkg_dependencies
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
+ynh_install_ruby --ruby_version=$RUBY_VERSION
#=================================================
# INSTALLING RUBY AND BUNDLER
#=================================================
ynh_script_progression --message="Installing Ruby..."
-ynh_install_ruby --ruby_version=$RUBY_VERSION
pushd "$final_path/live"
- gem update --system
- gem install bundler --no-document
+ ynh_use_ruby
+ # ynh_gem update --system
+ ynh_gem install bundler --no-document
popd
#=================================================