mirror of
https://github.com/YunoHost-Apps/fab-manager_ynh.git
synced 2024-09-03 18:36:16 +02:00
Fix restore and upgrade scripts with bundler version too
This commit is contained in:
parent
de3a960c89
commit
2c5089d159
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ ynh_script_progression --message="Building app..." --weight=1
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
ynh_exec_warn_less $ynh_gem install bundler
|
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 --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'
|
||||||
ynh_exec_warn_less bin/bundle install
|
ynh_exec_warn_less bin/bundle install
|
||||||
|
|
|
@ -166,7 +166,7 @@ then
|
||||||
ynh_secure_remove --file="$final_path/node_modules"
|
ynh_secure_remove --file="$final_path/node_modules"
|
||||||
ynh_secure_remove --file="$final_path/tmp/cache"
|
ynh_secure_remove --file="$final_path/tmp/cache"
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
ynh_exec_warn_less $ynh_gem install bundler
|
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 --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'
|
||||||
ynh_exec_warn_less bin/bundle install
|
ynh_exec_warn_less bin/bundle install
|
||||||
|
|
Loading…
Add table
Reference in a new issue