Permalink
Browse files

Load pp when debugging

darcs-hash:20070306211200-4fc50-e2446fd2c76f8f7a7778e9dca2af49d3a838f940.gz
  • Loading branch information...
1 parent e5fa2f9 commit 4687521160a2cc7d80f6a203bd9c45a2d8c4f53a @chneukirchen committed Mar 6, 2007
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/rackup
View
@@ -72,6 +72,8 @@ opts = OptionParser.new("", 24, ' ') { |opts|
opts.parse! ARGV
}
+require 'pp' if $DEBUG
+
config = ARGV[0] || "config.ru"
if !File.exist? config
abort "configuration #{config} not found"

0 comments on commit 4687521

Please sign in to comment.