X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/917c3ca20c36318578c4dfab7de076d97a2f87fe..0779cb4c6b2768b42748077f212b472dfc24b055:/doc/admin/config-migration.html.textile.liquid diff --git a/doc/admin/config-migration.html.textile.liquid b/doc/admin/config-migration.html.textile.liquid index 4862bfe333..3f10a87feb 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 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. @@ -40,7 +40,7 @@ The legacy workbench configuration is stored in @config/application.yml@. After Change to the workbench 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.