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 }