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:
parent
d642ca5b17
commit
eed4268b7d
1 changed files with 7 additions and 7 deletions
|
@ -77,13 +77,13 @@ ynh_script_progression --message="Building app..." --weight=1
|
||||||
pushd "$install_dir/live"
|
pushd "$install_dir/live"
|
||||||
# Building ruby packages
|
# Building ruby packages
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
ynh_gem update --system
|
ynh_exec_warn_less $ynh_gem update --system
|
||||||
ynh_gem install bundler --no-document
|
ynh_exec_warn_less $ynh_gem install bundler --no-document
|
||||||
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 deployment 'true'
|
||||||
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 without 'development test doc'
|
||||||
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 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_warn_less 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_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 $ynh_gem install bundler
|
||||||
#ynh_exec_warn_less bin/bundle config --global frozen 1
|
#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 config set --local without 'development test doc'
|
||||||
|
|
Loading…
Add table
Reference in a new issue