From 2578d0964d707eb2a4aaa4736f1ff26c1a71a8a8 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 8 Jan 2023 20:01:31 -0800 Subject: [PATCH 1/2] chore: pin bundler/foreman versions (#2353) --- bin/install-mastodon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/install-mastodon.js b/bin/install-mastodon.js index 8dd0519e..002ad3b9 100644 --- a/bin/install-mastodon.js +++ b/bin/install-mastodon.js @@ -43,8 +43,8 @@ async function setupMastodonDatabase () { async function installMastodonDependencies () { const cwd = mastodonDir const installCommands = [ - 'gem update --system', - 'gem install bundler foreman', + 'gem install bundler -v 2.3.26 --no-document', + 'gem install foreman -v 0.87.2 --no-document', 'bundle config set --local frozen \'true\'', 'bundle install', 'yarn --pure-lockfile' From c2851ce104cf4daf13ee1aa214914d413769c2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Mon, 9 Jan 2023 05:02:17 +0100 Subject: [PATCH 2/2] docs: explain how to use the buildCommand for internationalization (#2344) --- docs/Internationalization.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/Internationalization.md b/docs/Internationalization.md index a62df9bd..7c316ccd 100644 --- a/docs/Internationalization.md +++ b/docs/Internationalization.md @@ -16,5 +16,4 @@ or LOCALE=fr yarn dev -There is also an experimental `LOCALE_DIRECTION` environment variable for the direction (LTR versus RTL) which is -exposed to the source code while building. +To host a localized version of Pinafore using Vercel, you can see this example: [buildCommand in vercel.json for Spanish](https://github.com/nvdaes/vercelPinafore/blob/45c70fb2088fe5f2380a729dab83e6f3ab4e6291/vercel.json#L9). \ No newline at end of file