Package: ruby-prawn / 2.4.0+dfsg-1~

0600_replace_require_relative_manual.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: replace require_relative with a require statement with an absolute path
 The installed library is not located the same way as in the source package,
 relatively to the manual files.
Author: Cédric Boutillier
Forwarded: no
Last-Update: 2019-01-07

--- a/manual/example_helper.rb
+++ b/manual/example_helper.rb
@@ -1,6 +1,5 @@
 # frozen_string_literal: true
 
-$LOAD_PATH.unshift File.join(__dir__, '../lib')
 require 'prawn'
 require 'prawn/manual_builder'