From: Keith Packard <keithp@keithp.com>
Date: Sun, 30 Dec 2018 16:57:09 -0800
Subject: Load data files from /usr/share/ruby-asciidoctor-pdf

Avoid using /usr/lib/ruby

Signed-off-by: Keith Packard <keithp@keithp.com>
---
 lib/asciidoctor/pdf/theme_loader.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/asciidoctor/pdf/theme_loader.rb b/lib/asciidoctor/pdf/theme_loader.rb
index 30613aa..ad71b16 100644
--- a/lib/asciidoctor/pdf/theme_loader.rb
+++ b/lib/asciidoctor/pdf/theme_loader.rb
@@ -9,7 +9,7 @@ class ThemeLoader
       include ::Asciidoctor::PDF::Measurements
       include ::Asciidoctor::Logging
 
-      DataDir = ::File.absolute_path %(#{__dir__}/../../../data)
+      DataDir = '/usr/share/ruby-asciidoctor-pdf/data'
       ThemesDir = ::File.join DataDir, 'themes'
       FontsDir = ::File.join DataDir, 'fonts'
       BaseThemePath = ::File.join ThemesDir, 'base-theme.yml'
