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

Update install

This commit is contained in:
Gredin67 2024-02-29 13:48:00 +01:00 committed by GitHub
parent d642ca5b17
commit eed4268b7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,13 +77,13 @@ ynh_script_progression --message="Building app..." --weight=1
pushd "$install_dir/live"
# Building ruby packages
ynh_use_ruby
ynh_gem update --system
ynh_gem install bundler --no-document
ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config deployment 'true'
ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config without 'development test doc'
ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config set force_ruby_platform true
ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN)
ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle binstubs --all
ynh_exec_warn_less $ynh_gem update --system
ynh_exec_warn_less $ynh_gem install bundler --no-document
ynh_exec_warn_less ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config deployment 'true'
ynh_exec_warn_less ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config without 'development test doc'
ynh_exec_warn_less ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config set force_ruby_platform true
ynh_exec_warn_less ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN)
ynh_exec_warn_less ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle binstubs --all
#ynh_exec_warn_less $ynh_gem install bundler
#ynh_exec_warn_less bin/bundle config --global frozen 1
#ynh_exec_warn_less bin/bundle config set --local without 'development test doc'