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

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"

- Shane

-- 

- Shane
  https://www.apache.org/foundation/marks/resources

Reply via email to