From 32af6e665b5ea9c059c38c4073e3e72d2c5f7383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 28 Jun 2024 10:40:32 +0200 Subject: [PATCH] build ruby with ynh_exec_as --- scripts/_common.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index e7573b8..e3f56d2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -29,11 +29,11 @@ fi fabmanager_build_ruby() { pushd "$install_dir" ynh_use_ruby - ynh_exec_warn_less $ynh_gem install "bundler:$bundler_version" - ynh_exec_warn_less bin/bundle config --global frozen 1 - ynh_exec_warn_less bin/bundle config set --local without 'development test doc' - ynh_exec_warn_less bin/bundle install - ynh_exec_warn_less bin/bundle binstubs --all + ynh_exec_warn_less ynh_exec_as "$app" $ynh_gem install "bundler:$bundler_version" + ynh_exec_warn_less ynh_exec_as "$app" bin/bundle config --global frozen 1 + ynh_exec_warn_less ynh_exec_as "$app" bin/bundle config set --local without 'development test doc' + ynh_exec_warn_less ynh_exec_as "$app" bin/bundle install + ynh_exec_warn_less ynh_exec_as "$app" bin/bundle binstubs --all popd }