1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
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
Forwaded: no
Last-Update: 2014-09-08
--- a/manual/example_helper.rb
+++ b/manual/example_helper.rb
@@ -1,6 +1,6 @@
# encoding: UTF-8
-require_relative "../lib/prawn"
+require "prawn"
require "prawn/manual_builder"
Prawn::ManualBuilder.manual_dir = File.dirname(__FILE__)
|