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

bundle revert

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

View file

@ -77,12 +77,15 @@ ynh_script_progression --message="Building app..." --weight=1
pushd "$install_dir/live"
# Building ruby packages
ynh_use_ruby
ynh_exec_warn_less $ynh_gem update --system
#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 config deployment 'true'
ynh_exec_warn_less ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config --global frozen 1
#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 --local 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 install
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