mirror of
https://github.com/YunoHost-Apps/redmine_ynh.git
synced 2024-09-03 20:16:16 +02:00
fix
This commit is contained in:
parent
e3736efc89
commit
98624f9daf
3 changed files with 6 additions and 8 deletions
|
@ -138,9 +138,9 @@ pushd $final_path
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
ynh_gem update --system --no-document
|
ynh_gem update --system --no-document
|
||||||
ynh_gem install bundler passenger --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
|
||||||
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 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 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
|
||||||
|
|
|
@ -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_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
|
ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BUILD APP
|
# BUILD APP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -102,9 +100,9 @@ pushd $final_path
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
ynh_gem update --system --no-document
|
ynh_gem update --system --no-document
|
||||||
ynh_gem install bundler passenger --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
|
||||||
bundle install --without development test rmagick
|
#bundle install --without development test rmagick
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
|
@ -138,9 +138,9 @@ pushd $final_path
|
||||||
ynh_use_ruby
|
ynh_use_ruby
|
||||||
ynh_gem update --system --no-document
|
ynh_gem update --system --no-document
|
||||||
ynh_gem install bundler passenger --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
|
||||||
bundle install --without development test rmagick
|
#bundle install --without development test rmagick
|
||||||
ynh_exec_warn_less bundle exec rake db:migrate RAILS_ENV=production
|
ynh_exec_warn_less bundle exec rake db:migrate RAILS_ENV=production
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue