From bb9a17362619770e5ae0f416c87d321414c8d0c7 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Mon, 2 Mar 2020 17:08:19 +0100 Subject: [PATCH] Unfreeze Gemfile in import templates Co-authored-by: Jay Pfaffman --- templates/import/mbox.template.yml | 1 + templates/import/mssql-dep.template.yml | 1 + templates/import/mysql-dep.template.yml | 1 + templates/import/phpbb3.template.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/templates/import/mbox.template.yml b/templates/import/mbox.template.yml index 422aa24..ff6580f 100644 --- a/templates/import/mbox.template.yml +++ b/templates/import/mbox.template.yml @@ -33,4 +33,5 @@ hooks: cmd: - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libsqlite3-dev - echo "gem 'sqlite3'" >> Gemfile + - su discourse -c 'bundle config unset deployment' - su discourse -c 'bundle install --no-deployment --path vendor/bundle --jobs 4 --without test development' diff --git a/templates/import/mssql-dep.template.yml b/templates/import/mssql-dep.template.yml index a6b640f..0997ad8 100644 --- a/templates/import/mssql-dep.template.yml +++ b/templates/import/mssql-dep.template.yml @@ -21,4 +21,5 @@ hooks: cd: $home cmd: - echo "gem 'tiny_tds'" >> Gemfile + - su discourse -c 'bundle config unset deployment' - su discourse -c 'bundle install --no-deployment --path vendor/bundle --jobs 4 --without test development' diff --git a/templates/import/mysql-dep.template.yml b/templates/import/mysql-dep.template.yml index a1631b4..27b394d 100644 --- a/templates/import/mysql-dep.template.yml +++ b/templates/import/mysql-dep.template.yml @@ -10,4 +10,5 @@ hooks: cmd: - echo "gem 'mysql2'" >> Gemfile - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libmariadb-dev + - su discourse -c 'bundle config unset deployment' - su discourse -c 'bundle install --no-deployment --path vendor/bundle --jobs 4 --without test development' diff --git a/templates/import/phpbb3.template.yml b/templates/import/phpbb3.template.yml index 946aa88..092922b 100644 --- a/templates/import/phpbb3.template.yml +++ b/templates/import/phpbb3.template.yml @@ -114,4 +114,5 @@ hooks: cmd: - echo "gem 'mysql2'" >> Gemfile - echo "gem 'ruby-bbcode-to-md', :github => 'nlalonde/ruby-bbcode-to-md'" >> Gemfile + - su discourse -c 'bundle config unset deployment' - su discourse -c 'bundle install --no-deployment --path vendor/bundle --jobs 4 --without test development' -- 2.25.1