$OpenBSD: patch-lib_inc_internal_ruby_api_hpp,v 1.3 2015/07/23 08:06:28 jasper Exp $

- Initialize the ruby loadpath so that rbconfig.rb gets loaded.
  https://github.com/puppetlabs/facter/pull/1059

--- lib/inc/internal/ruby/api.hpp.orig	Tue Jul 21 11:31:28 2015
+++ lib/inc/internal/ruby/api.hpp	Thu Jul 23 01:25:11 2015
@@ -624,6 +624,7 @@ namespace facter {  namespace ruby {
         void (* const ruby_init)();
         void* (* const ruby_options)(int, char**);
         int (* const ruby_cleanup)(volatile int);
+        void (* const ruby_init_loadpath)();
 
         static std::unique_ptr<api> create();
         static facter::util::dynamic_library find_library();
