From c8237f29c663f8654d019a9a5e89524aa9f234ac Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 3 Jun 2021 14:38:33 +0200 Subject: [PATCH] Fix --- scripts/_common.sh | 1 + scripts/install | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index ecc6bb3..303a1ae 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -20,6 +20,7 @@ exec_login_as() { shift 1 exec_as $user --login "$@" } + # Execute a command as another user # usage: exec_as USER COMMAND [ARG ...] exec_as() { diff --git a/scripts/install b/scripts/install index 8759442..17814c9 100644 --- a/scripts/install +++ b/scripts/install @@ -64,6 +64,7 @@ ynh_app_setting_set --app=$app --key=email --value=$email ynh_script_progression --message="Installing dependencies..." ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies +ynh_install_ruby --ruby_version=$RUBY_VERSION #================================================= # CREATE A POSTGRESQL DATABASE