Commit ec8a68771a6e1cece8efac8375bc76083b6c1494

Authored by Jacob Vosmaer
1 parent a3d4f93a

Explain how to start a rails console

Showing 1 changed file with 11 additions and 0 deletions   Show diff stats
@@ -185,6 +185,17 @@ gitlab_rails['ldap_user_filter'] = '' # Example: '(memberOf=CN=my department,OU= @@ -185,6 +185,17 @@ gitlab_rails['ldap_user_filter'] = '' # Example: '(memberOf=CN=my department,OU=
185 185
186 Run `sudo gitlab-ctl reconfigure` for the LDAP settings to take effect. 186 Run `sudo gitlab-ctl reconfigure` for the LDAP settings to take effect.
187 187
  188 +### Starting a Rails console session
  189 +
  190 +For advanced users only. If you need access to a Rails production console for your
  191 +GitLab installation you can start one with the following command:
  192 +
  193 +```shell
  194 +sudo /opt/gitlab/bin/gitlab-rails console
  195 +```
  196 +
  197 +This will only work after you have run `gitlab-ctl reconfigure` at least once.
  198 +
188 ## Building your own package 199 ## Building your own package
189 200
190 See [the separate build documentation](doc/build.md). 201 See [the separate build documentation](doc/build.md).