I’m trying to use jruby-ldap in a rails 3 app running on jruby, and it
appears that jruby-ldap is failing to load. I do not get any actual
error on the require statement, and it returns nil - which appears to be
the norm from what I can tell. However as soon as I try to access one of
the constants that jruby-ldap is supposed to define, I get:
uninitialized constant FooController::LDAP
This is a vanilla app built for the sole purpose of testing jruby-ldap
in rails3. The equivalent test apps for jruby-ldap/rails2 and MRI
ruby-ldap/rail3 both work properly.
Is there a trick to requiring a lib in Rails 3, or is jruby-ldap not
ready for Rails 3 yet?