Rakefile in prawn-0.14.0 vs Rakefile in prawn-0.15.0

- old
+ new

@@ -38,5 +38,17 @@ spec = Gem::Specification.load "prawn.gemspec" Gem::PackageTask.new(spec) do |pkg| pkg.need_zip = true pkg.need_tar = true end + +desc "Run a console with Prawn loaded" +task :console do + require 'irb' + require 'irb/completion' + require_relative 'lib/prawn' + Prawn.debug = true + + ARGV.clear + IRB.start +end +