Permalink
Browse files

Use vendored prawn-core to run examples

  • Loading branch information...
1 parent 06dba81 commit 3c0253b3a9fce13d04235c8ecd8bb288ac5a90b7 @bradediger bradediger committed Nov 9, 2009
Showing with 5 additions and 1 deletion.
  1. +5 −1 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

0 comments on commit 3c0253b

Please sign in to comment.