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