From 5b24b05867ce213db4ef6f1118ea0e07fa984a91 Mon Sep 17 00:00:00 2001 From: Florent Peyraud Date: Tue, 19 Dec 2017 11:02:34 +0100 Subject: disable sqlite and tune install task --- lib/tasks/install.rake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/tasks/install.rake') diff --git a/lib/tasks/install.rake b/lib/tasks/install.rake index c5cfd3cde..22a493a62 100644 --- a/lib/tasks/install.rake +++ b/lib/tasks/install.rake @@ -32,8 +32,10 @@ task :pkg4docker do sh "git archive --format=tar --output=tmp/package/stif-boiv-release-#{release_name}.tar HEAD" sh "bundle package --all" - sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:clobber RAILS_ENV=production" - sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:precompile RAILS_ENV=production" +# sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:clobber RAILS_ENV=production" +# sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:precompile RAILS_ENV=production" + sh "bundle exec rake assets:clobber RAILS_ENV=production" + sh "bundle exec rake assets:precompile RAILS_ENV=production" sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar vendor/cache" sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar public/assets" -- cgit v1.2.3