Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use vendored prawn-core to run examples

  • Loading branch information...
commit 3c0253b3a9fce13d04235c8ecd8bb288ac5a90b7 1 parent 06dba81
@bradediger bradediger authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 examples/example_helper.rb
View
6 examples/example_helper.rb
@@ -1,6 +1,10 @@
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),
+ %w[.. vendor prawn-core lib]))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+
require "rubygems"
-require "prawn"
+
+require "prawn/core"
require "prawn/layout"
Prawn.debug = true
Please sign in to comment.
Something went wrong with that request. Please try again.