summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorexromany <exromany@gmail.com>2014-08-18 10:05:58 +0400
committerexromany <exromany@gmail.com>2014-08-18 10:05:58 +0400
commit45ef553a404f152ca34b6f5ac20b29f30224be47 (patch)
tree15c47deb55e90c48ae75f579ab7804bb1673e54b /doc
parent54c20837032cb1bae03f9794cc39884224bf91d3 (diff)
downloadgitlab-ce-45ef553a404f152ca34b6f5ac20b29f30224be47.tar.gz
Update user_management.md
add rails_env to commands
Diffstat (limited to 'doc')
-rw-r--r--doc/raketasks/user_management.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/raketasks/user_management.md b/doc/raketasks/user_management.md
index eb9eebb4b4a..dfd4959b22b 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]
+RAILS_ENV=production bundle exec rake gitlab:import:user_to_projects[username@domain.tld]
```
## 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
+RAILS_ENV=production bundle exec rake gitlab:import:all_users_to_all_projects
```
## 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]
+RAILS_ENV=production bundle exec rake gitlab:import:user_to_groups[username@domain.tld]
```
## 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
+RAILS_ENV=production bundle exec rake gitlab:import:all_users_to_all_groups
```