Permalink
Browse files

Supply valid ruby-prof parameters [#1804 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
Jacob Kjeldahl authored and lifo committed Jan 27, 2009
1 parent 25724ee commit d6645a5e52308a3270bf11f8c71cbf7c7f9d48f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/commands/performance/profiler.rb
@@ -29,7 +29,7 @@
printer_class = RubyProf::FlatPrinter
end
printer = printer_class.new(results)
- printer.print($stderr, 0)
+ printer.print($stderr)
rescue LoadError
require "prof"
$stderr.puts 'Using the old ruby-prof extension.'

0 comments on commit d6645a5

Please sign in to comment.