(maint) Add debugging when loading ruby dynamic library

If there was an error, libdir isn't set.

On Tue, Sep 16, 2014 at 11:08 AM, Peter Huene <notifications@github.com>
wrote:

> In lib/src/ruby/posix/api.cc:
>
> > @@ -94,6 +94,8 @@ namespace facter { namespace ruby {
> >                  if (!libruby.empty() && library.load(libruby)) {
> >                      return library;
> >                  }
> > +            } else {
> > +              LOG_DEBUG("ruby library not found at %1%: %2%", path(ruby).remove_filename() / ".." / "lib", ec.message());
>
> Isn't this just libdir?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/puppetlabs/cfacter/pull/132/files#r17619277>.
>