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

Fix bundler version used

This commit is contained in:
Salamandar 2024-03-13 17:01:37 +01:00
parent 913e9f1e27
commit de3a960c89
2 changed files with 3 additions and 2 deletions

View file

@ -10,6 +10,7 @@ pkg_dependencies="ntp ntpdate tzdata curl git imagemagick tzdata libc-dev zlib1g
build_pkg_dependencies="build-essential patch libpq-dev"
ruby_version="2.6.10"
bundler_version=2.1.4
nodejs_version="14"

View file

@ -161,12 +161,12 @@ ynh_script_progression --message="Building app..." --weight=1
pushd $final_path
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 set --local without 'development test doc'
ynh_exec_warn_less bin/bundle install
ynh_exec_warn_less bin/bundle binstubs --all
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
ynh_psql_execute_as_root --sql="ALTER USER $db_user WITH SUPERUSER;" --database="$db_name"