1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redmine_ynh.git synced 2024-09-03 20:16:16 +02:00
This commit is contained in:
ericgaspar 2022-04-12 21:53:09 +02:00
parent e3736efc89
commit 98624f9daf
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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