From 98624f9daf438d0d9c9ddc1a1df2a84c068da6b7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 12 Apr 2022 21:53:09 +0200 Subject: [PATCH] fix --- scripts/install | 4 ++-- scripts/restore | 6 ++---- scripts/upgrade | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index 63a82c5..78ba8c0 100644 --- a/scripts/install +++ b/scripts/install @@ -138,9 +138,9 @@ pushd $final_path ynh_use_ruby ynh_gem update --system --no-document ynh_gem install bundler passenger --no-document - bundle config set --local without 'development test' + bundle config set --local without 'development test rmagick' bundle install - bundle install --without development test rmagick + #bundle install --without development test rmagick ynh_exec_warn_less bundle exec rake generate_secret_token RAILS_ENV=production ynh_exec_warn_less bundle exec rake db:migrate RAILS_ENV=production #ynh_exec_warn_less bundle exec rake redmine:load_default_data RAILS_ENV=production diff --git a/scripts/restore b/scripts/restore index 15b0de7..a4fb4e5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -91,8 +91,6 @@ ynh_psql_test_if_first_run ynh_psql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name - - #================================================= # BUILD APP #================================================= @@ -102,9 +100,9 @@ pushd $final_path ynh_use_ruby ynh_gem update --system --no-document ynh_gem install bundler passenger --no-document - bundle config set --local without 'development test' + bundle config set --local without 'development test rmagick' bundle install - bundle install --without development test rmagick + #bundle install --without development test rmagick popd ynh_install_app_dependencies $pkg_dependencies diff --git a/scripts/upgrade b/scripts/upgrade index 5821144..aa6a0d2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -138,9 +138,9 @@ pushd $final_path ynh_use_ruby ynh_gem update --system --no-document ynh_gem install bundler passenger --no-document - bundle config set --local without 'development test' + bundle config set --local without 'development test rmagick' bundle install - bundle install --without development test rmagick + #bundle install --without development test rmagick ynh_exec_warn_less bundle exec rake db:migrate RAILS_ENV=production popd