diff --git a/doc/raketasks/user_management.md b/doc/raketasks/user_management.md
index eb9eebb4b4a768af848db8a80b27d977889a5e49..3c67753ad28bceae1818993579a4a52ac6dedd83 100644
--- a/doc/raketasks/user_management.md
+++ b/doc/raketasks/user_management.md
@@ -7,7 +7,7 @@
 sudo gitlab-rake gitlab:import:user_to_projects[username@domain.tld]
 
 # installation from source or cookbook
-bundle exec rake gitlab:import:user_to_projects[username@domain.tld]
+bundle exec rake gitlab:import:user_to_projects[username@domain.tld] RAILS_ENV=production
 ```
 
 ## Add all users to all projects
@@ -21,7 +21,7 @@ Notes:
 sudo gitlab-rake gitlab:import:all_users_to_all_projects
 
 # installation from source or cookbook
-bundle exec rake gitlab:import:all_users_to_all_projects
+bundle exec rake gitlab:import:all_users_to_all_projects RAILS_ENV=production
 ```
 
 ## Add user as a developer to all groups
@@ -31,7 +31,7 @@ bundle exec rake gitlab:import:all_users_to_all_projects
 sudo gitlab-rake gitlab:import:user_to_groups[username@domain.tld]
 
 # installation from source or cookbook
-bundle exec rake gitlab:import:user_to_groups[username@domain.tld]
+bundle exec rake gitlab:import:user_to_groups[username@domain.tld] RAILS_ENV=production
 ```
 
 ## Add all users to all groups
@@ -45,5 +45,5 @@ Notes:
 sudo gitlab-rake gitlab:import:all_users_to_all_groups
 
 # installation from source or cookbook
-bundle exec rake gitlab:import:all_users_to_all_groups
+bundle exec rake gitlab:import:all_users_to_all_groups RAILS_ENV=production
 ```