mirror of
https://github.com/YunoHost-Apps/acropolis_ynh.git
synced 2024-09-03 18:06:22 +02:00
Fix installation of optional postgresql gemfile group
This commit is contained in:
parent
6afd2faf0e
commit
f858d88ee4
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ pushd "$install_dir"
|
|||
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" script/configure_bundler
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" bin/bundle config set path 'vendor/bundle'
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" bin/bundle install --full-index
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" bin/bundle install --full-index --with postgresql
|
||||
popd
|
||||
|
||||
ynh_script_progression --message="Preparing the database and create initial admin user..."
|
||||
|
|
|
@ -71,7 +71,7 @@ pushd "$install_dir"
|
|||
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" bin/bundle config deployment 'true'
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" bin/bundle config without 'development test'
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" bin/bundle install --full-index -j$(getconf _NPROCESSORS_ONLN)
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" bin/bundle install --full-index --with postgresql
|
||||
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" RAILS_ENV=production bin/rake assets:clean
|
||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_ruby_load_path" RAILS_ENV=production bin/rake assets:precompile
|
||||
|
|
Loading…
Reference in a new issue