From 9ba63a184235cac2f6aaf1a4b8a10ff5d592bf8b 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 11546c0323..dbb706f44a 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
 
@@ -28,7 +28,7 @@ This will print the contents of @config.yml@ after merging with legacy @applicat 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.30.2