If you're using the Omnibus package, you should run rake like this (assuming you're root):
gitlab-rake gitlab:ldap:check And don't forget that when making configuration changes you should always modify /etc/gitlab/gitlab.rb and then run "gitlab-ctl reconfigure" to regenerate the actual config files that GitLab read at startup, and "gitlab-ctl hup" to make GitLab re-read the updates config files. HTH, Daniel Serodio On Thursday, March 5, 2015 at 3:26:41 PM UTC-3, Walter Boring wrote: > > I'm trying to debug my LDAP config issues with the latest gitlab. > > I know nothing about ruby and all it's confusion of how it works, so I'm > probably doing something crazy stupid wrt to rubyness. > > Anyways, I installed the latest from https://about.gitlab.com/downloads/ > on ubuntu 14.04. > > I then followed the instructions here: > https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/integration/ldap.md > <https://www.google.com/url?q=https%3A%2F%2Fgitlab.com%2Fgitlab-org%2Fgitlab-ce%2Fblob%2Fmaster%2Fdoc%2Fintegration%2Fldap.md&sa=D&sntz=1&usg=AFQjCNG3ye2QSx6EzpVFkv9PO-ywu8jhtg> > > to setup LDAP. > > But LDAP auth is failing, and I am trying to figure out how to debug it. > I tried follwing the testing of LDAP config here: > https://gitlab.com/gitlab-org/gitlab-ce/issues/615 > > Running "sudo -u git -H bundle exec rake gitlab:ldap:check > RAILS_ENV=production" yields some confusing ruby output that is less than > helpful, to say the least. > > > root@test-gitlab-vm:~# sudo -u git -H bundle exec rake gitlab:ldap:check > RAILS_ENV=production > Could not locate Gemfile > > > The gitlab web interface is up and running and I can try and auth with my > LDAP creds, but I get an error. > > Any idea how to make that convoluted and confusing bundle exec rake thing > work? > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/941a1424-43f5-4a2c-9f7a-d9d2c354342d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.