1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redmine_ynh.git synced 2024-09-03 20:16:16 +02:00

Oops, revert changes

This commit is contained in:
Salamandar 2024-02-23 19:02:42 +01:00
parent aad4f9b138
commit 6b92f62e18

View file

@ -55,13 +55,13 @@ ynh_script_progression --message="Building app..." --weight=1
pushd "$install_dir" pushd "$install_dir"
ynh_use_ruby ynh_use_ruby
ynh_exec_as "$app" ynh_gem update --system --no-document ynh_gem update --system --no-document
ynh_exec_as "$app" ynh_gem install bundler passenger --no-document ynh_gem install bundler passenger --no-document
ynh_exec_as "$app" bundle config set --local without 'development test rmagick' bundle config set --local without 'development test rmagick'
ynh_exec_as "$app" bundle add 'webrick' --version '~> 1.7' bundle add 'webrick' --version '~> 1.7'
ynh_exec_as "$app" bundle install bundle install
ynh_exec_as "$app" ynh_exec_warn_less bundle exec rake generate_secret_token RAILS_ENV=production ynh_exec_warn_less bundle exec rake generate_secret_token RAILS_ENV=production
ynh_exec_as "$app" ynh_exec_warn_less bundle exec rake db:migrate 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 #ynh_exec_warn_less bundle exec rake redmine:load_default_data RAILS_ENV=production
popd popd