On Sat, Jun 3, 2017 at 11:28 AM, Shane Curcuru <[email protected]> wrote: > John D. Ament wrote on 6/3/17 11:13 AM: >> I get the following error when trying to access the LDAP cert using the >> first format. Is that expected now? >> >> ruby -r whimsy/asf -e "puts ASF::LDAP.cert" >> >> -e:1:in `<main>': undefined method `cert' for ASF::LDAP:Module >> (NoMethodError) > > Um, because there isn't a .cert method on the ASF::LDAP class? > > You *might* want this (although I'm not sure): > > ruby -r whimsy/asf -e "puts ASF::LDAP.extract_cert" > > I don't understand all the details, but I think the DEVELOPMENT.md doc > is wrong, it looks like the method was changed back here: > > https://github.com/apache/whimsy/commit/7eaebbcbf477ef6efc87dcfec39b6af6e753912a
Good catch! Fixed: https://github.com/apache/whimsy/commit/31093167e927779b051195e962bf51451d55e65f > Separately, you might be able to run setup stuff like the Mac setup > instructions say: > > https://github.com/apache/whimsy/blob/master/MACOSX.md#configure-ldap > > Which is: > > $ cd <path-to-git-whimsy> > $ sudo ruby -I whimsy/lib -r whimsy/asf -e "ASF::LDAP.configure" That also works. > - Shane - Sam Ruby
