discourse_dev: use local bundler directory for temp install (#662)
authorDavid Taylor <david@taylorhq.com>
Tue, 3 Jan 2023 17:58:51 +0000 (17:58 +0000)
committerGitHub <noreply@github.com>
Tue, 3 Jan 2023 17:58:51 +0000 (17:58 +0000)
commite6cb71cd55cfad1c64b0a4b40676cbcaedbc918f
tree5fc6145ce73efafe2ab1c507071804745631ec05
parent46ea141eef6c3975e5095a67eac74aafb2a6b261
discourse_dev: use local bundler directory for temp install (#662)

discourse_dev installs a temporary version of Discourse to create a pre-migrated database. Previously this was installing gems in the global bundler directory, which could lead to permissions errors. This commit makes it use a local vendor directory, just like we do in the production install of Discourse.
image/discourse_dev/postgres_dev.template.yml