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:
parent
a3106fff94
commit
32af6e665b
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue