1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fab-manager_ynh.git synced 2024-09-03 18:36:16 +02:00

build ruby with ynh_exec_as

This commit is contained in:
Salamandar 2024-06-28 10:40:32 +02:00
parent 623a123ad3
commit 39a0b9bc2d

View file

@ -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
}