From df4b4294ee91d521556724001be81261d99654d1 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Thu, 11 Jul 2019 15:45:16 -0400 Subject: [PATCH] doc: on the config migration page, make sure to include RAILS_ENV in the bundle commands. No issue # Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- doc/admin/config-migration.html.textile.liquid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/admin/config-migration.html.textile.liquid b/doc/admin/config-migration.html.textile.liquid index 4862bfe333..c5a5ac7a48 100644 --- a/doc/admin/config-migration.html.textile.liquid +++ b/doc/admin/config-migration.html.textile.liquid @@ -19,7 +19,7 @@ The legacy API server configuration is stored in @config/application.yml@ and @c Change to the API server directory and use the following commands:
-$ bundle exec rake config:migrate > config.yml
+$ RAILS_ENV=production bundle exec rake config:migrate > config.yml
 $ cp config.yml /etc/arvados/config.yml
 
@@ -49,7 +49,7 @@ This will print the contents of @config.yml@ after merging the legacy @applicati If you wish to update @config.yml@ configuration by hand, or check that everything has been migrated, use @config:diff@ to print configuration items that differ between @application.yml@ and the system @config.yml@.
-$ bundle exec rake config:diff
+$ RAILS_ENV=production bundle exec rake config:diff
 
This command will also report if no migrations are required. -- 2.39.5